mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
feat(webapp): the mail notifications dialogs
This commit is contained in:
@@ -216,7 +216,7 @@ export function useSendSaleReceiptMail(props) {
|
||||
const apiRequest = useApiRequest();
|
||||
|
||||
return useMutation(
|
||||
(id, values) => apiRequest.post(`sales/receipts/${id}/mail`, values),
|
||||
([id, values]) => apiRequest.post(`sales/receipts/${id}/mail`, values),
|
||||
{
|
||||
onSuccess: () => {
|
||||
// Invalidate queries.
|
||||
|
||||
Reference in New Issue
Block a user