1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00

Fixing issue found by test case.

This commit is contained in:
mike12345567 2021-11-10 12:52:23 +00:00
parent c8e02a20a0
commit 1453e8810b

View file

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