Commit 0f6517e8 by Arjun Jhukal

updated minor change

parent 976b3997
...@@ -61,7 +61,7 @@ export const downloadApi = createApi({ ...@@ -61,7 +61,7 @@ export const downloadApi = createApi({
const queryString = params.toString(); const queryString = params.toString();
const response = await fetchWithBQ({ const response = await fetchWithBQ({
url: `/api/admin/download/transactions${queryString ? `?${queryString}` : ""}`, url: `/api/admin/download/user${queryString ? `?${queryString}` : ""}`,
method: "GET", method: "GET",
responseHandler: async (response) => response.blob(), // ⬅️ handle blob here responseHandler: async (response) => response.blob(), // ⬅️ handle blob here
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment