Skip to content

Commit

Permalink
[Backend] Fix double response
Browse files Browse the repository at this point in the history
  • Loading branch information
MananGandhi1810 committed Nov 13, 2024
1 parent 8a3a7b4 commit 54ffc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/handlers/editorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const updateEditorialHandler = async (req, res) => {
},
});
} catch (e) {
res.status(500).json({
return res.status(500).json({
success: false,
message: "Could not update editorial",
data: null,
Expand Down

0 comments on commit 54ffc78

Please sign in to comment.