added products route and key

This commit is contained in:
Mamalizz
2025-01-14 20:48:55 +03:30
parent e3855bedee
commit 99ea591063
+6 -2
View File
@@ -1,10 +1,10 @@
export const API_ENDPOINTS = {
account: {
profile : "/accounts/profile",
profile: "/accounts/profile",
send_otp: "/accounts/send_otp",
},
product: {
get : "/products",
get: "/products",
},
auth: {
signin: "/token",
@@ -14,11 +14,15 @@ export const API_ENDPOINTS = {
messages: "/chat/product",
new_message: "/chat/product",
},
products: {
get_all: "/products",
},
};
export const QUERY_KEYS = {
chat: "chat",
product: "product",
products: "products",
account: "account",
};