Skip to content

Commit

Permalink
Fix: export 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobbymin committed Nov 14, 2024
1 parent 39ca0c2 commit 22f22c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/sinitto/call-back/list/apis/get-call-backs.api.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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,
size: number,
sort: string = 'DESC'
) => {
const response = await fetchInstance.get<CallbackListResponse>(
getCallbacksPath(),
getCallbacksPath,
{
params: {
page,
Expand Down
3 changes: 1 addition & 2 deletions src/pages/sinitto/call-back/list/apis/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { getCallbacks } from './get-call-backs.api';

export * from './hooks';
export { getCallbackList } from './callback-list.api';

0 comments on commit 22f22c2

Please sign in to comment.