From 22f22c26f819d63607bdeb6c561b5bb572693af7 Mon Sep 17 00:00:00 2001 From: Dobbymin Date: Thu, 14 Nov 2024 23:44:16 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20export=20=EA=B2=BD=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sinitto/call-back/list/apis/get-call-backs.api.ts | 4 ++-- src/pages/sinitto/call-back/list/apis/index.ts | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/sinitto/call-back/list/apis/get-call-backs.api.ts b/src/pages/sinitto/call-back/list/apis/get-call-backs.api.ts index 45efba3c..01a451f5 100644 --- a/src/pages/sinitto/call-back/list/apis/get-call-backs.api.ts +++ b/src/pages/sinitto/call-back/list/apis/get-call-backs.api.ts @@ -1,7 +1,7 @@ import type { CallbackListResponse } from '../types'; import { fetchInstance } from '@/shared/api/instance'; -const getCallbacksPath = () => `/api/callbacks`; +const getCallbacksPath = `/api/callbacks`; export const getCallbacks = async ( page: number, @@ -9,7 +9,7 @@ export const getCallbacks = async ( sort: string = 'DESC' ) => { const response = await fetchInstance.get( - getCallbacksPath(), + getCallbacksPath, { params: { page, diff --git a/src/pages/sinitto/call-back/list/apis/index.ts b/src/pages/sinitto/call-back/list/apis/index.ts index 738b0d55..6f6fb6c8 100644 --- a/src/pages/sinitto/call-back/list/apis/index.ts +++ b/src/pages/sinitto/call-back/list/apis/index.ts @@ -1,3 +1,2 @@ export { getCallbacks } from './get-call-backs.api'; - -export * from './hooks'; +export { getCallbackList } from './callback-list.api';