Skip to content

Conversation

@Yun-Jinwoo
Copy link
Collaborator

📌 변경 사항 개요

userApi 관련 함수를 구현했습니다.

📝 상세 내용

  • getUser : 회원 정보 조회
  • putUser : 회원 정보 수정

🔗 관련 이슈

🖼️ 스크린샷(선택사항)

💡 참고 사항

@Yun-Jinwoo Yun-Jinwoo linked an issue Jun 18, 2025 that may be closed by this pull request
3 tasks
@Yun-Jinwoo Yun-Jinwoo requested review from a user, Moon-ju-young and minimo-9 June 18, 2025 06:33
@Yun-Jinwoo Yun-Jinwoo self-assigned this Jun 18, 2025
@Yun-Jinwoo Yun-Jinwoo added ✨ 기능 추가/구현 새로운 기능을 추가하거나 구현했어요! labels Jun 18, 2025
// get /users/{user_id} - 회원 정보 조회
export const getUser = async (userId: string): Promise<UserDetailResponse> => {
try {
const response = await api.get(`/users/${userId}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ get 함수에는 generic으로 responsetype을 지정해주지 않아도 괜찮은가요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

헉 아닙니다 제가 실수로 빼먹었네요! 추가했습니다!

Copy link
Collaborator

@minimo-9 minimo-9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿입니다!

@Yun-Jinwoo Yun-Jinwoo merged commit adf5acc into develop Jun 18, 2025
2 checks passed
@Yun-Jinwoo Yun-Jinwoo deleted the feat/79-userapi branch June 18, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ 기능 추가/구현 새로운 기능을 추가하거나 구현했어요!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] user API 함수 구현

4 participants