get with slug
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-06-01 10:04:05 +03:30
parent 42ce8fd892
commit 9d8dd549dc
4 changed files with 113 additions and 117 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export const getCatalogs = async () => {
export const getCatalogById = async (id: string) => {
const { data } = await axios.get<CatalogByIdResponseType>(
`/public/catalogue/${id}`,
`/public/catalogue/slug/${id}`,
);
return data;
};