product template endpoint fixed
This commit was merged in pull request #10.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user