Skip to content

Commit

Permalink
fix: wrong error
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 7, 2022
1 parent 161c47a commit 89bd204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/offer.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const cancelActiveOffer = async (req, res) => {
Staging.destroy({ where: { isTransfer: true } }),
]);

res.status(400).json({
res.status(200).json({
message: 'Active offer has been canceled.',
});
} catch (error) {
Expand Down

0 comments on commit 89bd204

Please sign in to comment.