create api keys with no expiration for testing

This commit is contained in:
Ricardo Espinoza 2025-01-31 12:32:48 -05:00
parent 4f4495445c
commit d5a1e08036
No known key found for this signature in database

View file

@ -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,
});
};