Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
b6a485ba1f
1 changed files with 9 additions and 0 deletions
|
|
@ -219,6 +219,15 @@ export class AuthRoleController extends Controller {
|
||||||
...newAttrs.map((attr) => this.authRoleAttrRepo.save(attr)),
|
...newAttrs.map((attr) => this.authRoleAttrRepo.save(attr)),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
const redisClient = await this.redis.createClient({
|
||||||
|
host: REDIS_HOST,
|
||||||
|
port: REDIS_PORT,
|
||||||
|
});
|
||||||
|
|
||||||
|
await redisClient.flushdb(function (err: any, succeeded: any) {
|
||||||
|
console.log(succeeded); // will be true if successfull
|
||||||
|
});
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue