mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: create connect key
This commit is contained in:
@@ -271,7 +271,7 @@ export class ApiKeyService implements OnModuleInit {
|
||||
}
|
||||
|
||||
public async createLocalConnectApiKey(): Promise<ApiKeyWithSecret> {
|
||||
return await this.create('Connect', 'API key for Connect user', [Role.ADMIN], true);
|
||||
return await this.create('Connect', 'API key for Connect user', [Role.CONNECT], true);
|
||||
}
|
||||
|
||||
public async saveApiKey(apiKey: ApiKeyWithSecret): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user