From 7239b89108da954a29ead195e88a540c3baae405 Mon Sep 17 00:00:00 2001 From: Timothy Cyrus <4201229+tcyrus@users.noreply.github.com> Date: Tue, 14 Apr 2020 13:48:54 -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 0d4999892..d0d738683 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.del(`/api/${this.props.metadata.editId}`) + request.delete(`/api/${this.props.metadata.editId}`) .send() .end(function(err, res){ window.location.href = '/';