diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.jsx b/client/homebrew/editor/metadataEditor/metadataEditor.jsx index 2ae9ddae3..0d4999892 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.jsx +++ b/client/homebrew/editor/metadataEditor/metadataEditor.jsx @@ -50,7 +50,7 @@ const MetadataEditor = createClass({ if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return; } - request.get(`/api/remove/${this.props.metadata.editId}`) + request.del(`/api/${this.props.metadata.editId}`) .send() .end(function(err, res){ window.location.href = '/';