0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 22:32:41 +00:00

update app to use a single endpoint for google and non-google stored brews

This commit is contained in:
Charlie Humphreys
2022-03-24 08:13:34 -05:00
parent 9e5cc57441
commit 92d8027640
7 changed files with 215 additions and 13355 deletions

View File

@@ -59,7 +59,7 @@ const MetadataEditor = createClass({
if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return;
}
request.delete(`/api/${this.props.metadata.editId}`)
request.delete(`/api/${this.props.metadata.googleId}${this.props.metadata.editId}`)
.send()
.end(function(err, res){
window.location.href = '/';