This commit is contained in:
moss 2025-03-29 15:59:42 +07:00
parent 615daca666
commit 4b070e8b8b
2 changed files with 1 additions and 4 deletions

View file

@ -215,7 +215,7 @@ export class SalaryController extends Controller {
chk_Salary.lastUpdatedAt = new Date();
this.salaryRepository.merge(chk_Salary, mergeData);
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);
}

View file

@ -186,9 +186,6 @@ class CheckAuth {
public async checkOrg(token: any, keycloakId: string) {
try {
// 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_PORT = process.env.REDIS_PORT ? Number(process.env.REDIS_PORT) : 6379;