Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class GetPresignedUrlController {

private final ImageUploadUseCase imageUploadUseCase;

@Secured("ROLE_VOLUNTEER, ROLE_CENTER")
@Secured({"ROLE_VOLUNTEER", "ROLE_CENTER"})
@PostMapping("/upload")
@Operation(summary = "이미지 업로드 URL 조회", description = "이미지 업로드 URL을 조회합니다.")
public ApiResponse<String> getImageUploadUrl(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public ApiResponse<String> updateBasicInfo(
return ApiResponse.ok("센터 기본 정보 수정 완료");
}

@Secured("ROLE_VOLUNTEER, ROLE_CENTER")
@Secured({"ROLE_VOLUNTEER", "ROLE_CENTER"})
@PutMapping("/image/volunteer")
@Operation(summary = "유저 프로필 이미지 수정", description = "프로필 이미지를 수정합니다. 응답으로 제공되는 URL에 이미지를 PUT 해야 합니다.")
public ApiResponse<String> updateVolunteerImage(
public ApiResponse<String> updateImage(
@UserId UUID userId,
@Valid @RequestBody ImgUrlRequestDto imgUrlRequestDto
) {
Expand Down