Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5c8e9d1

Browse files
committed
changes for #116
1 parent 82f2d8d commit 5c8e9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/services/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default () => {
3535
});
3636
} else if (
3737
error.response &&
38-
error.response.status === 409 &&
38+
(error.response.status === 409 || error.response.status === 400) &&
3939
error.response.data.message
4040
) {
4141
const modError = new Error(error.response.data.message);

0 commit comments

Comments
 (0)