mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Allow multi API creation via the UI (#12845)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user