Skip to content

Commit

Permalink
fix: 데이터 로그 확인 (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiwonh423 authored Aug 14, 2023
1 parent cd08d72 commit 0ec08df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/apis/getApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export const getApi = async <T>(
},
});

console.log('response', response);
console.log('responseJson', response.json());

const responseData: T = await response.json();
if (response.status !== 200) {
throw new Error('API 요청에 실패했습니다.');
Expand Down

0 comments on commit 0ec08df

Please sign in to comment.