Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Update employee_id default value to 'NA' if sr is null or undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Sep 29, 2023
1 parent 1393761 commit 6366967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/users/services/cron/user-update.cron.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class UserUpdateCronService {
.updateTable('users')
.set({
propelauth_user_id: propelauthUser.userId,
employee_id: sr || 'Not set in erp hr',
employee_id: sr || 'NA',
full_name: name,
first_name: firstName,
last_name: lastName,
Expand Down

0 comments on commit 6366967

Please sign in to comment.