From 50cc757a5c6f62f232a4e91b61f81b93b4a91724 Mon Sep 17 00:00:00 2001 From: Timothy Cyrus <4201229+tcyrus@users.noreply.github.com> Date: Tue, 14 Apr 2020 11:52:47 -0400 Subject: [PATCH] Update metadataEditor.jsx --- client/homebrew/editor/metadataEditor/metadataEditor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '/';