diff --git a/frontend/constants/index.ts b/frontend/constants/index.ts index b6186a1..600e029 100644 --- a/frontend/constants/index.ts +++ b/frontend/constants/index.ts @@ -43,8 +43,13 @@ export const API_ENDPOINTS = { create_message: "/tickets/message/create", }, orders: { - get_all: "/order/list", - get_cart: "/order/cart", + get_all: "/order/all", + cart: { + get_all: "/order/cart", + delete_one: "/order/cart/item", + delete_all: "/order/cart/all", + add_one: "/order/cart/item", + }, }, }; @@ -91,8 +96,4 @@ export const NAV_LINKS = [ title: "ارتباط با ما", path: "/contact-us", }, - { - title: "امکانات", - path: "#", - }, ];