Fix APIKey typing (#16541)

Following this https://github.com/twentyhq/twenty/pull/16540
Those were not failing (yet) but were wrongly typed and error prone

---------

Co-authored-by: Guillim <guillim@users.noreply.github.com>
This commit is contained in:
Weiko
2025-12-15 16:05:28 +00:00
committed by GitHub
co-authored by Guillim
parent fc74a06f53
commit 039a3d99a8
13 changed files with 50 additions and 33 deletions
@@ -59,7 +59,7 @@ export class ApiKeyRoleService {
});
}
async getRoleIdForApiKey(
async getRoleIdForApiKeyId(
apiKeyId: string,
workspaceId: string,
): Promise<string> {