Skip to content

Commit

Permalink
fix: 데이터 로그 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
jiwonh423 committed Aug 14, 2023
1 parent cd08d72 commit 2879301
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 2879301

Please sign in to comment.