feat: Allow multi API creation via the UI (#12845)

This commit is contained in:
Ricardo Espinoza
2025-01-29 07:42:01 -05:00
committed by GitHub
parent c25c613a04
commit ad3250ceb0
33 changed files with 1036 additions and 207 deletions

View File

@@ -81,7 +81,9 @@ export async function createUserWithMfaEnabled(
}
export const addApiKey = async (user: User) => {
return await Container.get(PublicApiKeyService).createPublicApiKeyForUser(user);
return await Container.get(PublicApiKeyService).createPublicApiKeyForUser(user, {
label: randomName(),
});
};
export async function createOwnerWithApiKey() {