We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01fe150 commit 71eebcdCopy full SHA for 71eebcd
api/src/unraid-api/auth/api-key.service.ts
@@ -47,7 +47,7 @@ export class ApiKeyService implements OnModuleInit {
47
}
48
49
private setupWatch() {
50
- watch(this.basePath, { ignoreInitial: false }).on('change', async (path) => {
+ watch(this.basePath, { ignoreInitial: false }).on('all', async (path) => {
51
this.logger.debug(`API key changed: ${path}`);
52
this.memoryApiKeys = [];
53
this.memoryApiKeys = await this.loadAllFromDisk();
0 commit comments