Skip to content

Commit

Permalink
fix: 반환 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
inung1004 committed Mar 5, 2024
1 parent fde159b commit 3407ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/admin/src/apis/outing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type OutingStatusType = 'APPROVED' | 'REJECTED' | 'OUTING' | 'DONE';
export const fetchOutingApplicationDetail = async (
outingApplicationId: string,
) => {
const { data } = await instance.get<Promise<OutingApplicationDetailResponse>>(
const { data } = await instance.get<OutingApplicationDetailResponse>(
`${router}/${outingApplicationId}`,
);
return data;
Expand All @@ -24,7 +24,7 @@ export const fetchOutingApplications = async (
name: string,
date: string,
) => {
const { data } = await instance.get<Promise<OutingApplicationsResponse>>(
const { data } = await instance.get<OutingApplicationsResponse>(
`${router}/?outing_status=${outing_status}&name=${name}&date=${date}`,
);
return data;
Expand Down

0 comments on commit 3407ef4

Please sign in to comment.