started calendar api integration
This commit was merged in pull request #19.
This commit is contained in:
@@ -4,7 +4,8 @@ const queryKeys = {
|
||||
recentAction: ['recent-action'],
|
||||
product: ['product-data'],
|
||||
product_url: ['product_url'],
|
||||
myproduct_provision: ['myproduct_provision']
|
||||
myproduct_provision: ['myproduct_provision'],
|
||||
calendar_events: ['calendar_events']
|
||||
}
|
||||
|
||||
export default queryKeys
|
||||
@@ -101,6 +101,11 @@ export const topBar = () => {
|
||||
return getAuxEnd(`/panel/account/bar`)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET CALENDAR EVENTS
|
||||
export const getCalendarEvents = () => {
|
||||
return getAuxEnd(`/panel/account/calendar`)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET DASHBOARD RECENT ACTIONS SECTION
|
||||
export const recentActions = () => {
|
||||
return getAuxEnd(`/panel/account/actions`)
|
||||
|
||||
Reference in New Issue
Block a user