Skip to content

Commit

Permalink
fix : create friend endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
xonmin committed Aug 15, 2024
1 parent d40d003 commit 97d23bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _endpoint_test/member.http
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GET {{host}}/member/me
Authorization: {{authorization}}

### 친구 관계 생성 API
POST {{host}}/member/create-friend
POST {{host}}/member/friend
Content-Type: application/json

{
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/kotlin/com/mashup/dojo/MemberController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class MemberController(
return DojoApiResponse.success(MemberUpdateResponse(memberId))
}

@PostMapping("/member/create-friend")
@PostMapping("/member/friend")
@Operation(
summary = "친구(팔로우)추가 API",
description = "친구(팔로우) 관계 생성 API, 친구 추가 기능에 대해서 from 이 to 를 follow 합니다. 이미 follow가 존재한다면 예외를 반환해요",
Expand Down

0 comments on commit 97d23bc

Please sign in to comment.