Fixes bug where categories would not stay deleted.
Project: http://git-wip-us.apache.org/repos/asf/rave/repo Commit: http://git-wip-us.apache.org/repos/asf/rave/commit/7534e6bc Tree: http://git-wip-us.apache.org/repos/asf/rave/tree/7534e6bc Diff: http://git-wip-us.apache.org/repos/asf/rave/diff/7534e6bc Branch: refs/heads/angular Commit: 7534e6bc050fc3299a133877c72cca9dbaedbc52 Parents: b0a4091 Author: Jmeas <[email protected]> Authored: Tue Aug 26 16:10:12 2014 -0400 Committer: Jmeas <[email protected]> Committed: Tue Aug 26 16:10:12 2014 -0400 ---------------------------------------------------------------------- rave-portal-ng/mock-api/modules/category/endpoint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/rave/blob/7534e6bc/rave-portal-ng/mock-api/modules/category/endpoint.js ---------------------------------------------------------------------- diff --git a/rave-portal-ng/mock-api/modules/category/endpoint.js b/rave-portal-ng/mock-api/modules/category/endpoint.js index cadd991..009c0ee 100644 --- a/rave-portal-ng/mock-api/modules/category/endpoint.js +++ b/rave-portal-ng/mock-api/modules/category/endpoint.js @@ -86,7 +86,7 @@ define(function(require) { } // Otherwise, we delete the category and send back a success response - categoryUtil.deleteCategory(categoryID); + categoryUtil.deleteCategory({ID: categoryID}); return [200, null]; }
