Skip to content

Commit

Permalink
Fixed collection delete
Browse files Browse the repository at this point in the history
  • Loading branch information
karlomikus committed Dec 23, 2024
1 parent f38f517 commit ba2f581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/BarAssistantClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export default class BarAssistantClient {
}

static async deleteCollection(id: number) {
return (await client.DELETE('/cocktails/{id}', { params: { path: { id: id } } })).data
return (await client.DELETE('/collections/{id}', { params: { path: { id: id } } })).data
}

static async syncCollectionCocktails(id: number, cocktails: number[]) {
Expand Down

0 comments on commit ba2f581

Please sign in to comment.