Skip to content

Commit

Permalink
feat: 회원 전화번호 수정 기능 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
gikhoon committed Jul 8, 2024
1 parent a4916f0 commit bb21999
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.cotato.csquiz.api.member.controller;

import io.swagger.v3.oas.annotations.Operation;
import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand All @@ -9,6 +10,7 @@
import org.cotato.csquiz.api.member.dto.UpdatePhoneNumberRequest;
import org.cotato.csquiz.common.config.jwt.JwtTokenProvider;
import org.cotato.csquiz.domain.auth.service.MemberService;
import org.springframework.context.annotation.Description;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
Expand Down Expand Up @@ -43,6 +45,7 @@ public ResponseEntity<Void> updatePassword(@RequestHeader("Authorization") Strin
return ResponseEntity.noContent().build();
}

@Operation(summary = "멤버 전화번호 수정", description = "멤버 전화번호 수정하기")
@PatchMapping("/phone-number")
public ResponseEntity<Void> updatePhoneNumber(
@RequestHeader("Authorization") String authorizationHeader,
Expand Down

0 comments on commit bb21999

Please sign in to comment.