0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 18:52:38 +00:00

Merge branch 'master' into addMetadata-#820

This commit is contained in:
G.Ambatte
2022-04-13 09:13:37 +12:00
committed by GitHub
20 changed files with 921 additions and 613 deletions

View File

@@ -78,7 +78,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 = '/';