From 9abb8a06b1e3e78329804e2ed3d0585021f0559d Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Tue, 16 Jun 2026 14:57:30 +0330 Subject: [PATCH] change my-rest to my-shop --- src/pages/settings/service/SettingService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/settings/service/SettingService.ts b/src/pages/settings/service/SettingService.ts index 9ab394f..7d20820 100644 --- a/src/pages/settings/service/SettingService.ts +++ b/src/pages/settings/service/SettingService.ts @@ -2,11 +2,11 @@ import axios from "@/config/axios"; import type { GetRestaurantResponse, UpdateRestaurantType } from "../types/Types"; export const getRestaurant = async (): Promise => { - const { data } = await axios.get("/admin/shops/my-restaurant"); + const { data } = await axios.get("/admin/shops/my-shop"); return data; }; export const updateRestaurant = async (params: UpdateRestaurantType) => { - const { data } = await axios.patch("/admin/shops/my-restaurant", params); + const { data } = await axios.patch("/admin/shops/my-shop", params); return data; };