Skip to content

Commit

Permalink
Fix render method
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay committed Oct 15, 2023
1 parent e95ebfd commit e71d21f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mock-backend/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ router.render = (req, res) => {
res.status(404).jsonp({});
}
}
res.status(res.statusCode).jsonp(res.locals.data);
};

server.use(router);
Expand Down

0 comments on commit e71d21f

Please sign in to comment.