Skip to content

Conversation

@99hyuk
Copy link
Contributor

@99hyuk 99hyuk commented Feb 19, 2025

📌 관련 이슈

✨ PR 세부 내용

  • 개최 인원 프로필에 접근하기 위해 로그인 아이디를 통해 유저 고유 아이디를 반환하는 API를 구현했습니다.

@99hyuk 99hyuk added the ✨ feature 새로운 기능을 추가합니다 label Feb 19, 2025
@99hyuk 99hyuk self-assigned this Feb 19, 2025
@redblackblossom
Copy link
Contributor

이거 응답으로 id만 주면 되나요? 닉네임이랑 프로필 사진 필요 없나요?

@99hyuk
Copy link
Contributor Author

99hyuk commented Feb 19, 2025

프로필 불러오기 버튼을 누른 id에 한정해서 개인 포트폴리오 접근 링크만 제공하면 됩니다.
따라서 타인 포트폴리오 url의 경우 https://www.brainpix.net/personal-profile/20/personal 이런식으로 되어 있어 userId를 넘기면 프론트 측에서 반환된 id 값을 통해 하이퍼링크를 버튼에 연결해놓으면 된다고 생각했고, 프론트 측에 이렇게 전달하였습니다.

아이디 별 프로필 제공 여부는 반환값이 존재하는 지, 존재하지 않는 지 구분해서 글이 작성되었을 때 프론트 측에서 버튼 생성 여부를 고려해서 만들면 될 것 같습니다

@redblackblossom redblackblossom merged commit 91a0c33 into develop Feb 19, 2025
1 check passed
@redblackblossom redblackblossom deleted the feat/#233/collaboration_initial_id branch February 19, 2025 14:09
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.

[FEAT] 협업광장 내 개최인원 프로필 관련 유저 Id 반환 API 추가

3 participants