create catalog

This commit is contained in:
hamid zarghami
2026-03-09 15:32:21 +03:30
parent ff62b6c944
commit eac16c423b
8 changed files with 116 additions and 20 deletions
+1 -1
View File
@@ -2,6 +2,6 @@ import axios from "@/config/axios";
import type { CreateCatalogParamsType } from "../types/Types";
export const createCatalog = async (params: CreateCatalogParamsType) => {
const { data } = await axios.post("/catalogs", params);
const { data } = await axios.post("/catalogue", params);
return data;
};