690322:2047 Fixing Deployment Blocking TypeScript Errors
CI Pipeline / build (push) Failing after 9m47s
Build and Deploy / deploy (push) Failing after 4m42s

This commit is contained in:
2026-03-22 20:47:22 +07:00
parent 11984bfa29
commit 5dad7ab7c1
16 changed files with 17 additions and 18 deletions
+1 -2
View File
@@ -78,9 +78,8 @@ export class AuthService {
derivedRole = 'DC';
}
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { password, ...result } = user;
return { ...result, role: derivedRole };
return { ...result, role: derivedRole } as User & { role: string };
}
return null;
}