diff --git a/frontend/src/components/Forms/search.tsx b/frontend/src/components/Forms/search.tsx index 6bee6ef0..b75c6869 100644 --- a/frontend/src/components/Forms/search.tsx +++ b/frontend/src/components/Forms/search.tsx @@ -21,7 +21,7 @@ export const MenuSearch = ({ isOpen, closeCart, header, placement }: menuSearchA }; const getMenus = async (): Promise => { //remove the add coded value and make it dynamic - const response = await axiosPrivate.get("/menus/merchant/63d792433b857e1697fe7017"); + const response = await axiosPrivate.get("/menus/singleclient/63d792433b857e1697fe7017"); return response.data; }; diff --git a/frontend/src/components/Menu/MenuList.tsx b/frontend/src/components/Menu/MenuList.tsx index 0e335df9..2b56295e 100644 --- a/frontend/src/components/Menu/MenuList.tsx +++ b/frontend/src/components/Menu/MenuList.tsx @@ -10,7 +10,7 @@ export const MenuList = () => { const getMenus = async (): Promise => { //remove the add coded value and make it dynamic - const response = await axiosPrivate.get("/menus/merchant/63d792433b857e1697fe7017"); + const response = await axiosPrivate.get("/menus/singleclient/63d792433b857e1697fe7017"); return response.data; };