Skip to content

Commit

Permalink
fix : merge commit 중 수정사항
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jaesungyu committed May 2, 2024
1 parent c9b18b1 commit cd5f3dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ dependencies {
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'


// thumbnailator
implementation 'net.coobird:thumbnailator:0.4.14'
}

// Querydsl 설정부
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

@Tag(name = "게시물 API", description = "게시물 관련 API 입니다.")
Expand All @@ -43,7 +44,7 @@ public class PostController {
public ResponseEntity<PostDto.ResponseDto> createPost(
@AuthenticationPrincipal UserDetailsImpl userDetails,
@Valid @RequestPart("requestDto") PostDto.RequestDto requestDto,
@RequestPart("files") List<MultipartFile> files) {
@RequestPart("files") List<MultipartFile> files) throws IOException {
PostDto.ResponseDto responseDto = postService.createPost(userDetails.getUser(), requestDto, files);
return ResponseEntity.ok(responseDto);
}
Expand Down

0 comments on commit cd5f3dd

Please sign in to comment.