mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
create api keys with no expiration for testing
This commit is contained in:
parent
4f4495445c
commit
d5a1e08036
|
@ -83,7 +83,7 @@ export async function createUserWithMfaEnabled(
|
|||
export const addApiKey = async (user: User) => {
|
||||
return await Container.get(PublicApiKeyService).createPublicApiKeyForUser(user, {
|
||||
label: randomName(),
|
||||
expiresAt: Date.now() / 1000 + 100,
|
||||
expiresAt: null,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue