[BE] FIX: friend server, api 수정 #182 #184
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
해당 사항 (중복 선택)
설명
🔗 관련 이슈
해결한 이슈: closed #이슈번호
📝 작업 내용
{{host}} = http://localhost:8000
친구 요청 (/api/friends/request) - (senderId, receiverId 데이터를 body로 받아서 처리)
친구 수락 및 거절 - (senderId, receiverId 데이터를 body로 받아서 처리)
친구 목록 조회 (/api/friends/list) - (token header의 x-user-id 로 처리)
친구/방 요청 정보 조회 (api/friends/requests) - (token header의 x-user-id 로 처리)
안읽은 요청개수 반환 (api/friends/unread) - (token header의 x-user-id 로 처리)