issue #727 fixed

parent 3132444e
...@@ -619,6 +619,9 @@ module.exports = { ...@@ -619,6 +619,9 @@ module.exports = {
/** /**
* Deletes a supervisor * Deletes a supervisor
* @param {Id} id Id of the supervisor to delete * @param {Id} id Id of the supervisor to delete
* @param {Error}
* - 400 (Bad request) with error message "Missing parameters" (no 'id' passed)
* - 500 (Server error) with error message "Could not delete supervisor"
*/ */
delete: function (req, res) { delete: function (req, res) {
if (!req.params.id) if (!req.params.id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment