Skip to content

Commit

Permalink
Test if the cypress is failing due to API call issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-vara committed Aug 14, 2024
1 parent 46e5641 commit df1f906
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/js/realtime-notices.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@
}
)
.then(response => {
return response;
if (response.status !== 201) {
throw new Error(response.statusText);
}
Expand Down

0 comments on commit df1f906

Please sign in to comment.