fixed error

This commit is contained in:
Warunee Tamkoo 2026-05-21 14:03:30 +07:00
parent 44793fbfbb
commit b7c80ea6d4
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ export class ScriptProfileOrgController extends Controller {
* @summary Update org structure for profiles updated within a certain time window and sync to Keycloak
*/
@Post("update-org")
public async cronjobUpdateOrg(@Request() request: RequestWithUser) {
public async cronjobUpdateOrg(@Request() _request: RequestWithUser) {
// Idempotency check - prevent concurrent runs
if (this.isRunning) {
console.log("cronjobUpdateOrg: Job already running, skipping this execution");