From fed8a551102d1dd2201a5c5e96688ffc9cf19ee8 Mon Sep 17 00:00:00 2001 From: minjeoong Date: Sun, 19 Jan 2025 04:14:59 +0900 Subject: [PATCH] =?UTF-8?q?refector:=20get=20=EC=9C=A0=ED=8B=B8=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/domain/community/search/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/domain/community/search/index.ts b/src/api/domain/community/search/index.ts index f86334b3..2e73f2ec 100644 --- a/src/api/domain/community/search/index.ts +++ b/src/api/domain/community/search/index.ts @@ -1,5 +1,5 @@ import { API_PATH } from "@api/constants/apiPath"; -import { api } from "@api/index"; +import { get } from "@api/index"; import { paths } from "src/type/schema"; type searchGetResponse = @@ -17,6 +17,6 @@ type searchPostRequest = paths["/api/dev/search"]["post"]["requestBody"]; // }; export const getSearch = async () => { - const { data } = await api.get(API_PATH.SEARCH, {}); + const { data } = await get(API_PATH.SEARCH, {}); return data.data; };