added new endpoint for top bar data
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user