test
This commit is contained in:
parent
615daca666
commit
4b070e8b8b
2 changed files with 1 additions and 4 deletions
|
|
@ -215,7 +215,7 @@ export class SalaryController extends Controller {
|
||||||
chk_Salary.lastUpdatedAt = new Date();
|
chk_Salary.lastUpdatedAt = new Date();
|
||||||
this.salaryRepository.merge(chk_Salary, mergeData);
|
this.salaryRepository.merge(chk_Salary, mergeData);
|
||||||
await this.salaryRepository.save(chk_Salary, { data: request });
|
await this.salaryRepository.save(chk_Salary, { data: request });
|
||||||
setLogDataDiff(request, { before, after: chk_Salary });
|
await setLogDataDiff(request, { before, after: chk_Salary });
|
||||||
return new HttpSuccess(id);
|
return new HttpSuccess(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -186,9 +186,6 @@ class CheckAuth {
|
||||||
public async checkOrg(token: any, keycloakId: string) {
|
public async checkOrg(token: any, keycloakId: string) {
|
||||||
try {
|
try {
|
||||||
// Validate required environment variables
|
// Validate required environment variables
|
||||||
console.log(process.env);
|
|
||||||
console.log(process.env.REDIS_HOST);
|
|
||||||
console.log(process.env.REDIS_PORT);
|
|
||||||
const REDIS_HOST = process.env.REDIS_HOST;
|
const REDIS_HOST = process.env.REDIS_HOST;
|
||||||
const REDIS_PORT = process.env.REDIS_PORT ? Number(process.env.REDIS_PORT) : 6379;
|
const REDIS_PORT = process.env.REDIS_PORT ? Number(process.env.REDIS_PORT) : 6379;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue