Fixing issue found by test case.
This commit is contained in:
parent
47122f76fd
commit
18b98a158a
|
@ -27,7 +27,7 @@ exports.syncUserInApps = async userId => {
|
|||
"POST",
|
||||
{}
|
||||
)
|
||||
if (response.status !== 200) {
|
||||
if (response && response.status !== 200) {
|
||||
throw "Unable to sync user."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue