Fixing issue found by test case.
This commit is contained in:
parent
c8e02a20a0
commit
1453e8810b
|
@ -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