Skip to content

Commit

Permalink
fix: change post quit to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Jun 20, 2024
1 parent 7d04635 commit 6f146cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user-service/src/main/java/kr/mafoo/user/api/MeApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import io.swagger.v3.oas.annotations.tags.Tag;
import kr.mafoo.user.config.RequestMemberId;
import kr.mafoo.user.controller.dto.response.MemberResponse;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import reactor.core.publisher.Mono;

Expand All @@ -20,7 +20,7 @@ Mono<MemberResponse> getMemberWhoRequested(
);

@Operation(summary = "탈퇴", description = "현재 토큰 주인이 탈퇴합니다.")
@PostMapping("/quit")
@DeleteMapping
Mono<Void> deleteMemberWhoRequested(
@RequestMemberId @Parameter(hidden = true) String memberId
);
Expand Down

0 comments on commit 6f146cc

Please sign in to comment.