Skip to content

Commit

Permalink
Merge pull request #8314 from rushatgabhane/fix-8308
Browse files Browse the repository at this point in the history
IOU - Fix Infinite loading spinner on split bill with invalid phone number
  • Loading branch information
marcaaron authored Mar 25, 2022
2 parents 58effe9 + 6370445 commit 3f6396c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ function createIOUSplit(params) {
emailList: _.map(params.splits, participant => participant.email).join(','),
})
.then((response) => {
if (response.jsonCode !== 200) {
return response;
}

chatReportID = response.reportID;
return API.CreateIOUSplit({
...params,
Expand Down

0 comments on commit 3f6396c

Please sign in to comment.