added new endpoint for top bar data

This commit is contained in:
victorAnumudu
2025-06-24 16:38:42 +01:00
parent ffd80d9888
commit 9d158fe1cb
5 changed files with 122 additions and 34 deletions
+5 -6
View File
@@ -65,9 +65,7 @@ export const userInfo = (reqData) => {
}
return postAuxEnd('/panel/Account', postData, false)
}
// export const getUserDetails = (reqData) => {
// return getAuxEnd(`/panel/Account`, reqData)
// }
@@ -114,10 +112,11 @@ export const recoverPWD = (reqData) => {
}
// FUNCTION TO GET DASHBOARD TOP BAR SECTION
export const topBar = () => {
export const topBar = (reqData) => {
let postData = {
"token":"there-will-be-token",
"uid": "there-will-be-uid"
...reqData,
// "token":"there-will-be-token",
// "uid": "there-will-be-uid"
}
return postAuxEnd(`/panel/account-bar`, postData, false)
}