From 99ea591063cf0d874572ab62b3f61a1e5754834e Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Tue, 14 Jan 2025 20:48:55 +0330 Subject: [PATCH] added products route and key --- frontend/constants/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/constants/index.ts b/frontend/constants/index.ts index f7bb85e..7a3cd9f 100644 --- a/frontend/constants/index.ts +++ b/frontend/constants/index.ts @@ -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", };