TowerDevs / runnup-server

0 stars 1 forks source link

F/controllers change responses to json #51

Closed michaelddsilva closed 4 years ago

richardantao commented 4 years ago

DELETE requests don't need to send back json.

You can do return res.status(200).end() for delete responses just to send back the status code

richardantao commented 4 years ago

Also don't forget to remove next from the controllers

michaelddsilva commented 4 years ago

true, I made that a separate pull req, I want to have a separate f/ branch for each issue