Update brewItem.jsx

This commit is contained in:
Timothy Cyrus
2020-04-16 20:24:01 -04:00
committed by Trevor Buckner
parent 63ad8b3411
commit f6d623ace3
@@ -26,7 +26,7 @@ const BrewItem = createClass({
if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return;
}
request.get(`/api/remove/${this.props.brew.editId}`)
request.del(`/api/${this.props.brew.editId}`)
.send()
.end(function(err, res){
location.reload();