Skip to content

Commit

Permalink
Fix content updating route:
Browse files Browse the repository at this point in the history
  • Loading branch information
nehal96 committed Aug 20, 2019
1 parent 9ddd149 commit faed87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/contentRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = app => {

Content.findByIdAndUpdate(
contentId,
{ data },
data,
{ new: true },
(error, content) => {
if (error) {
Expand Down

0 comments on commit faed87d

Please sign in to comment.