Skip to content

Commit

Permalink
주석 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sonagi98 committed Jul 24, 2023
1 parent 38eeaae commit 4ae4e14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/pages/MyPage/assets/api/UserInfoApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import { MyPageInfoRes } from '../types/User';

export async function getUserinfo(id: number) {
try {
//id 파라미터 변경되어야 함
const response = await API.get<MyPageInfoRes>(`/members/${id}`);
console.log(response);
// console.log(response);
return response.data;
} catch {
console.log('404 error');
Expand Down

0 comments on commit 4ae4e14

Please sign in to comment.