Browse Source

Fix cache flush endpoint response

pull/3641/head
Thomas Kaul 1 year ago
parent
commit
efdefbf608
  1. 2
      apps/api/src/app/cache/cache.controller.ts

2
apps/api/src/app/cache/cache.controller.ts

@ -14,6 +14,6 @@ export class CacheController {
@Post('flush')
@UseGuards(AuthGuard('jwt'), HasPermissionGuard)
public async flushCache(): Promise<void> {
return this.redisCacheService.reset();
await this.redisCacheService.reset();
}
}

Loading…
Cancel
Save