File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/somemore/user/controller Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010import lombok .RequiredArgsConstructor ;
1111import lombok .extern .slf4j .Slf4j ;
1212import org .springframework .security .access .annotation .Secured ;
13- import org .springframework .web .bind .annotation .PostMapping ;
13+ import org .springframework .web .bind .annotation .PutMapping ;
1414import org .springframework .web .bind .annotation .RequestBody ;
1515import org .springframework .web .bind .annotation .RequestMapping ;
1616import org .springframework .web .bind .annotation .RestController ;
@@ -27,7 +27,7 @@ public class UserCommandController {
2727 private final UpdateBasicInfoUseCase updateBasicInfoUseCase ;
2828
2929 @ Secured ("ROLE_VOLUNTEER" )
30- @ PostMapping ("/basic-info/volunteer" )
30+ @ PutMapping ("/basic-info/volunteer" )
3131 @ Operation (summary = "봉사자 기본 정보 업데이트" , description = "봉사자의 기본 정보를 업데이트합니다." )
3232 public ApiResponse <String > registerBasicInfo (
3333 @ UserId UUID userId ,
@@ -38,7 +38,7 @@ public ApiResponse<String> registerBasicInfo(
3838 }
3939
4040 @ Secured ("ROLE_CENTER" )
41- @ PostMapping ("/basic-info/center" )
41+ @ PutMapping ("/basic-info/center" )
4242 @ Operation (summary = "센터 기본 정보 업데이트" , description = "센터의 기본 정보를 업데이트합니다." )
4343 public ApiResponse <String > registerBasicInfo (
4444 @ UserId UUID userId ,
You can’t perform that action at this time.
0 commit comments