added new notifications routes and query key
This commit is contained in:
@@ -15,6 +15,9 @@ export const API_ENDPOINTS = {
|
||||
},
|
||||
update: "/accounts/profile",
|
||||
subscribe: "/accounts/subscribe",
|
||||
notifications: {
|
||||
get_all: "/accounts/notification/all",
|
||||
},
|
||||
},
|
||||
product: {
|
||||
comments: "/products/comments",
|
||||
@@ -85,6 +88,7 @@ export const QUERY_KEYS = {
|
||||
orders: "orders",
|
||||
cart: "cart",
|
||||
transaction: "transaction",
|
||||
notifications: "notifications",
|
||||
};
|
||||
|
||||
export const MUTATION_KEYS = {
|
||||
|
||||
Reference in New Issue
Block a user