0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Update client/homebrew/pages/userPage/brewItem/brewItem.jsx

Co-Authored-By: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
Timothy Cyrus
2020-04-14 13:29:42 -04:00
committed by Trevor Buckner
parent f6d623ace3
commit 0ea80bd758

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.del(`/api/${this.props.brew.editId}`)
request.delete(`/api/${this.props.brew.editId}`)
.send()
.end(function(err, res){
location.reload();