product template endpoint fixed

This commit was merged in pull request #10.
This commit is contained in:
victorAnumudu
2025-09-22 17:17:54 +01:00
parent 2b1c499cca
commit f70d39ab38
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -101,13 +101,13 @@ export const getUsers = (reqData) => {
// FUNCTION TO GET PRODUCTS TEMPLATE DATA
export const getProductsTemplate = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/products-template`, postData)
return getAuxEnd(`/products-templates`, postData)
}
// FUNCTION TO GET CUSTOM TEMPLATE DATA
export const getCustomTemplate = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/custom-template`, postData)
return getAuxEnd(`/custom-templates`, postData)
}
// FUNCTION TO VIEW SELECTED ACCOUNT DATA