diff --git a/services/admin/src/apis/outing/index.ts b/services/admin/src/apis/outing/index.ts index 855de56..01713dc 100644 --- a/services/admin/src/apis/outing/index.ts +++ b/services/admin/src/apis/outing/index.ts @@ -12,7 +12,7 @@ export type OutingStatusType = 'APPROVED' | 'REJECTED' | 'OUTING' | 'DONE'; export const fetchOutingApplicationDetail = async ( outingApplicationId: string, ) => { - const { data } = await instance.get>( + const { data } = await instance.get( `${router}/${outingApplicationId}`, ); return data; @@ -24,7 +24,7 @@ export const fetchOutingApplications = async ( name: string, date: string, ) => { - const { data } = await instance.get>( + const { data } = await instance.get( `${router}/?outing_status=${outing_status}&name=${name}&date=${date}`, ); return data;