From 3ae09be98986eab0b4d11df4a76c94c6c150ce33 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Sat, 16 Jan 2016 23:50:32 -0600 Subject: [PATCH] Final fix for campaign deletion --- static/js/gophish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/gophish.js b/static/js/gophish.js index b95ec7cd..ca9c0e11 100644 --- a/static/js/gophish.js +++ b/static/js/gophish.js @@ -49,7 +49,7 @@ var api = { }, // delete() - Deletes a campaign at DELETE /campaigns/:id delete: function(id) { - return query("/campaigns/" + id, "DELETE", data) + return query("/campaigns/" + id, "DELETE", {}) } }, // groups contains the endpoints for /groups