Skip to content

Commit

Permalink
fix broken method ref
Browse files Browse the repository at this point in the history
  • Loading branch information
avertrees committed Dec 3, 2024
1 parent 92a4a44 commit 503eddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/utils/apiHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,6 @@ export const getCollectionsData = async ({
};

let apiUrl = `${process.env.API_URL}/api/v2/collections?page=${pageNum}&per_page=${perPage}&sort=${sortOptions[sortID]}&q=${keyword}`;
const res = await apiResponse(apiUrl);
const res = await fetchApi(apiUrl);
return res;
};

0 comments on commit 503eddf

Please sign in to comment.