Skip to content

Commit cdcebd2

Browse files
committed
fix: don't manually push to memory on creation
1 parent 230f25a commit cdcebd2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/src/unraid-api/auth/api-key.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ export class ApiKeyService implements OnModuleInit {
157157

158158
await this.saveApiKey(apiKey as ApiKeyWithSecret);
159159

160-
this.memoryApiKeys.push(apiKey as ApiKeyWithSecret);
161-
162160
return apiKey as ApiKeyWithSecret;
163161
}
164162

0 commit comments

Comments
 (0)