From abae7dea68cf76d2f37b96b5fd5095d411a1ef2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8C=E1=85=A9=E1=86=BC=E1=84=92?= =?UTF-8?q?=E1=85=A7=E1=86=A8?= Date: Sat, 16 Mar 2024 19:15:40 +0900 Subject: [PATCH] =?UTF-8?q?=20[Remove=20=F0=9F=97=91=EF=B8=8F]=20getUserSu?= =?UTF-8?q?mmary=20=ED=8C=8C=EC=9D=BC=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/user/getUserSummary.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/apis/user/getUserSummary.ts diff --git a/src/apis/user/getUserSummary.ts b/src/apis/user/getUserSummary.ts deleted file mode 100644 index ff908bee..00000000 --- a/src/apis/user/getUserSummary.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { getUserSummaryPayload, getUserSummaryResponseType } from "api-models" -import { AxiosRequestConfig } from "axios" - -import { ENDPOINTS } from "@constants/endPoints" - -import { baseInstance } from "../axiosInstance" - -export const getUserSummary = async ( - { keyword }: getUserSummaryPayload, - config: AxiosRequestConfig = {}, -) => { - const { data } = await baseInstance.get( - `${ENDPOINTS.GET_USER_NICKNAME}${keyword}`, - { - ...config, - }, - ) - - return data -}