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

(cherry picked from commit 3f6396c)
  • Loading branch information
marcaaron authored and OSBotify committed Mar 25, 2022
1 parent 07660b5 commit 173ffcc
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 173ffcc

Please sign in to comment.