Skip to content

Commit

Permalink
doc: remove useless FIXME comments
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-marceron committed Mar 30, 2023
1 parent 7f04094 commit afa8216
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/controllers/booksController.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@ exports.updateBook = async (req, res) => {
res.status(200).json({ message: 'Book updated successfully' });
} else {
res.status(404).json({ message: 'Book not found' });
// FIXME redirect to the generic error handler
}
} catch (error) {
res.status(400).json({ message: 'Error updating book', error });
// FIXME redirect to the generic error handler
}
};

Expand Down

0 comments on commit afa8216

Please sign in to comment.