mirror of https://github.com/gophish/gophish
Final fix for campaign deletion
parent
cff666119e
commit
3ae09be989
|
@ -49,7 +49,7 @@ var api = {
|
||||||
},
|
},
|
||||||
// delete() - Deletes a campaign at DELETE /campaigns/:id
|
// delete() - Deletes a campaign at DELETE /campaigns/:id
|
||||||
delete: function(id) {
|
delete: function(id) {
|
||||||
return query("/campaigns/" + id, "DELETE", data)
|
return query("/campaigns/" + id, "DELETE", {})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// groups contains the endpoints for /groups
|
// groups contains the endpoints for /groups
|
||||||
|
|
Loading…
Reference in New Issue