Skip to content

Commit

Permalink
fix(users): handle response status not existing on user check existence
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-gs committed Jun 13, 2024
1 parent b1465d5 commit 3fb7fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/stripe.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = () => {
});

} catch (err) {
if (err.response.status !== 404) {
if (err.response?.status !== 404) {
throw err;
}

Expand Down

0 comments on commit 3fb7fca

Please sign in to comment.