fixed dashboard payments endpoint
This commit was merged in pull request #78.
This commit is contained in:
@@ -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'],
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user