Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bd0e5f66
authored
Dec 30, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
issue #727 fixed
parent
3132444e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
sails/src/api/controllers/SupervisorController.js
sails/src/api/controllers/SupervisorController.js
View file @
bd0e5f66
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment