Skip to content

Commit

Permalink
use contact_id from user doc
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Apr 4, 2024
1 parent 8885823 commit f2b1319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-libs/user-management/src/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ const validateUserFacility = (data, user, userSettings) => {

const validateUserContact = (data, user, userSettings) => {
if (data.contact) {
return validateContact(userSettings.contact_id, user.facility_id);
return validateContact(user.contact_id, user.facility_id);
}

if (_.isNull(data.contact)) {
Expand Down

0 comments on commit f2b1319

Please sign in to comment.