Skip to content

Commit ec395e2

Browse files
committed
refactor(center): @PathVariable 키워드 추가
1 parent ec704cd commit ec395e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/somemore/center/controller/CenterProfileCommandApiController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class CenterProfileCommandApiController {
3131
@Operation(summary = "센터 프로필 수정", description = "센터 프로필을 수정합니다.")
3232
@PutMapping(value = "/{centerId}", consumes = MULTIPART_FORM_DATA_VALUE)
3333
public ApiResponse<String> updateCenterProfile(
34-
@CurrentUser UUID centerId,
34+
@CurrentUser @PathVariable UUID centerId,
3535
@Valid @RequestPart("data") CenterProfileUpdateRequestDto requestDto,
3636
@RequestPart(value = "img_file", required = false) MultipartFile image
3737
) {

0 commit comments

Comments
 (0)