fixed dashboard payments endpoint

This commit was merged in pull request #78.
This commit is contained in:
victorAnumudu
2025-09-01 16:08:26 +01:00
parent 9e33578ef2
commit 4969ad1ae4
5 changed files with 33 additions and 13 deletions
+1
View File
@@ -7,6 +7,7 @@ const queryKeys = {
product_page: ['product_page'],
recentAction: ['recent-action'],
settingsData: ['settings_data'],
myProductConfig: ['myproduct_config'],
productTemplateData: ['product_template_data'],
subscriptions: ['subscriptions'],
+9 -1
View File
@@ -114,7 +114,7 @@ export const productsURL = (reqData) => {
return postAuxEnd(`/panel/account/products/url`, postData, false)
}
// FUNCTION TO GET DASHBOARD PRODUCT URL DATA SECTION
// FUNCTION TO GET DASHBOARD PAYMENTS
export const getDashPayments = (reqData) => {
let postData = {
...reqData,
@@ -181,6 +181,14 @@ export const getSettingsData = (reqData) => {
return postAuxEnd(`/panel/myproduct/settings/values`, postData, false)
}
// FUNCTION TO GET MY PRODUCT CONFIGURATION
export const getMyProductConfig = (reqData) => {
let postData = {
...reqData,
}
return postAuxEnd(`/panel/myproduct/configuration`, postData, false)
}
// FUNCTION TO GET SETTINGS DATA
export const getProductTemplateData = (reqData) => {
let postData = {