Here: https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/modify_content.js#L65 https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/modify_content.js#L68 https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/modify_content.js#L54 https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/get_specific.js#L7 https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/delete_place.js#L12 Without returning these res.send's the code carries on adn can throw an error
Here:
https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/modify_content.js#L65
https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/modify_content.js#L68
https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/modify_content.js#L54
https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/get_specific.js#L7
https://github.com/foundersandcoders/OTP-Data-Entry/blob/master/src/controllers/places/delete_place.js#L12
Without returning these res.send's the code carries on adn can throw an error