Fixing issue found by test case.

This commit is contained in:
mike12345567 2021-11-10 12:52:23 +00:00
parent 47122f76fd
commit 18b98a158a
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ exports.syncUserInApps = async userId => {
"POST", "POST",
{} {}
) )
if (response.status !== 200) { if (response && response.status !== 200) {
throw "Unable to sync user." throw "Unable to sync user."
} }
} }