0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Update brewItem.jsx

This commit is contained in:
Timothy Cyrus
2020-04-14 11:54:57 -04:00
committed by Trevor Buckner
parent 63ad8b3411
commit f6d623ace3

View File

@@ -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();