Skip to content

Commit

Permalink
Fix Delete Customer Bug (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnida authored Nov 19, 2023
1 parent 98701bf commit 053dc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const Customer = {
getCustomerTotals: (): Promise<CustomerTotal[]> =>
requests.get("app/customers/totals/"),
deleteCustomer: (customer_id: string): Promise<CustomerType> =>
requests.post(`app/${customer_id}/delete/`, {}),
requests.post(`app/customers/${customer_id}/delete/`, {}),
updateCustomer: (
customer_id: string,
default_currency_code: string,
Expand Down

0 comments on commit 053dc3a

Please sign in to comment.