mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: Delete Stripe pamyent connection
This commit is contained in:
@@ -20,7 +20,7 @@ export const useDeletePaymentMethod = (
|
||||
return useMutation<void, Error, DeletePaymentMethodValues>(
|
||||
({ paymentMethodId }) => {
|
||||
return apiRequest
|
||||
.delete(`/payment-methods/${paymentMethodId}`)
|
||||
.delete(`/payment-services/${paymentMethodId}`)
|
||||
.then((res) => res.data);
|
||||
},
|
||||
{ ...options },
|
||||
|
||||
Reference in New Issue
Block a user