mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat(icons): optimize duplicate icon.
This commit is contained in:
@@ -123,7 +123,7 @@ export function useOpenBill(props) {
|
||||
const apiRequest = useApiRequest();
|
||||
|
||||
return useMutation(
|
||||
(id) => apiRequest.delete(`purchases/bills/${id}/open`),
|
||||
(id) => apiRequest.post(`purchases/bills/${id}/open`),
|
||||
{
|
||||
onSuccess: () => {
|
||||
queryClient.invalidateQueries('BILLS');
|
||||
|
||||
Reference in New Issue
Block a user