added products API
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const queryKeys = {
|
||||
dashboard: ['dashboard'],
|
||||
recentAction: ['recent-action']
|
||||
recentAction: ['recent-action'],
|
||||
product: ['product-data']
|
||||
}
|
||||
|
||||
export default queryKeys
|
||||
@@ -60,3 +60,8 @@ export const accountDashboard = () => {
|
||||
export const recentActions = () => {
|
||||
return getAuxEnd(`/panel/account/actions`)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET DASHBOARD PRODUCT DATA SECTION
|
||||
export const productData = () => {
|
||||
return getAuxEnd(`/panel/account/products`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user