Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] userid 식별 #94

Merged
merged 1 commit into from
Jan 2, 2025
Merged

[feature] userid 식별 #94

merged 1 commit into from
Jan 2, 2025

Conversation

generalban
Copy link
Contributor

@generalban generalban commented Dec 30, 2024

연관 이슈

close #93


개요

User의 프로필 조회 시, userId를 반환하도록 DTO를 수정


✅ 작업 내용

  • UserResponseDto.ProfileDto에 userId 필드 추가
  • UserController의 /user/myprofile 엔드포인트에 반영

@generalban generalban linked an issue Dec 30, 2024 that may be closed by this pull request
2 tasks
@yyypearl yyypearl changed the title userid식별 [feature] userid 식별 Jan 2, 2025
@yyypearl yyypearl added the 🛠 feature 기능 구현 label Jan 2, 2025
@yyypearl yyypearl self-requested a review January 2, 2025 00:27
Comment on lines +97 to +98
public ApiResponse<String> withdrawal(@RequestHeader("Authorization") String token) {
if (!token.startsWith("Bearer ")) {
Copy link
Member

Choose a reason for hiding this comment

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

@RequestHeader를 사용하면 더 간결하게 헤더 요청을 받을 수 있네요!👍🏻

@yyypearl yyypearl merged commit 77dfe86 into develop Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 feature 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

프로필 조회 API에 userId 추가 지도 자동 색칠, 여행기 제목 및 설명 수정
2 participants