feat: wire up direct uploads with local file provider (#12643)

This commit is contained in:
Harminder Virk authored and GitHub committed 2025-06-10 15:07:54 +05:30
1 parent 1a78476608
commit f2cb528a56
8 files changed
+112 -57

No files matched your search

@@ -400,7 +400,7 @@ export const useImportProducts = (
>
) => {
return useMutation({
mutationFn: (payload) => sdk.admin.product.import(payload),
mutationFn: (payload) => sdk.admin.product.createImport(payload),
onSuccess: (data, variables, context) => {
options?.onSuccess?.(data, variables, context)
},