Commit 85a07254 by Arjun Jhukal

updated minor change

parent 0f6517e8
......@@ -61,7 +61,7 @@ export const downloadApi = createApi({
const queryString = params.toString();
const response = await fetchWithBQ({
url: `/api/admin/download/user${queryString ? `?${queryString}` : ""}`,
url: `/api/admin/download/users${queryString ? `?${queryString}` : ""}`,
method: "GET",
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