new products endpoint added

This commit was merged in pull request #31.
This commit is contained in:
victorAnumudu
2025-06-25 19:31:50 +01:00
parent a3dbc8cab1
commit 1d31507984
2 changed files with 36 additions and 33 deletions
+5 -8
View File
@@ -85,23 +85,20 @@ export const recentActions = (reqData) => {
}
// FUNCTION TO GET DASHBOARD PRODUCT DATA SECTION
export const productData = () => {
let postData = {
"token":"b",
"uid": 'h'
export const productsData = (reqData) => {
let postData = {
...reqData,
}
return postAuxEnd(`/panel/account/products`, postData, false)
}
// FUNCTION TO GET DASHBOARD PRODUCT URL DATA SECTION
export const productsURL = () => {
return getAuxEnd(`/panel/account/products/url`)
}
// FUNCTION TO REGISTER USER
export const signUpUser = (reqData) => {
let postData = {