This commit is contained in:
CHIEFSOFT\ameye
2025-06-23 18:12:51 -04:00
parent 384da476a6
commit ffd80d9888
+15 -3
View File
@@ -115,17 +115,29 @@ export const recoverPWD = (reqData) => {
// FUNCTION TO GET DASHBOARD TOP BAR SECTION
export const topBar = () => {
return getAuxEnd(`/panel/account/bar`)
let postData = {
"token":"there-will-be-token",
"uid": "there-will-be-uid"
}
return postAuxEnd(`/panel/account-bar`, postData, false)
}
// FUNCTION TO GET CALENDAR EVENTS
export const getCalendarEvents = () => {
return getAuxEnd(`/panel/account/calendar`)
// return getAuxEnd(`/panel/account/calendar`)
let postData = {
"a":"b"
}
return postAuxEnd(`/panel/account/calendar`, postData, false)
}
// FUNCTION TO GET DASHBOARD RECENT ACTIONS SECTION
export const recentActions = () => {
return getAuxEnd(`/panel/account/actions`)
//return getAuxEnd(`/panel/account/actions`)
let postData = {
"a":"b"
}
return postAuxEnd(`/panel/account/actions`, postData, false)
}
// FUNCTION TO GET MY PRODUCT PROVISION DATA