fix: credit & vendor reducer.

This commit is contained in:
elforjani13
2021-12-04 22:16:36 +02:00
parent e1a3f471cb
commit bf99bda616
22 changed files with 142 additions and 139 deletions

View File

@@ -102,7 +102,7 @@ const transformVendorCreditsResponse = (response) => ({
*/
export function useVendorCredits(query, props) {
return useRequestQuery(
[t.VENDOR_CREDITS],
[t.VENDOR_CREDITS, query],
{
method: 'get',
url: 'purchases/vendor-credit',