0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 21:12:41 +00:00

change api route to avoid collision

This commit is contained in:
Víctor Losada Hernández
2025-05-13 08:23:23 +02:00
parent 60714fbf58
commit c51e8fd9d1
2 changed files with 2 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ const MetadataEditor = createClass({
handleDeleteAuthor : function(author){
if(!confirm('Are you sure you want to delete this author? They will lose all edit access to this brew.')) return;
request.put(`/api/${this.props.metadata.editId}/${author}`)
request.put(`/api/prune/${this.props.metadata.editId}/${author}`)
.send()
.end((err, res)=>{
if(err) {