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

Commit

Permalink
Merge pull request #297 from kmcwebdev/development
Browse files Browse the repository at this point in the history
Update employee_id default value to 'NA' if sr is null or undefined
  • Loading branch information
csulit authored Sep 29, 2023
2 parents 9d38d8f + 6366967 commit a590282
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 a590282

Please sign in to comment.