Skip to content

Commit

Permalink
Merge pull request #71 from Jhsysng/main
Browse files Browse the repository at this point in the history
fix: folder serach mapping error fix
  • Loading branch information
Jhsysng authored Mar 23, 2024
2 parents 1c9572e + bbdebd1 commit 8091ec0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ResponseEntity<String> copyFolder(final @AuthenticationPrincipal Principa


@Operation(summary = "์ธ์‚ฌ์ดํŠธ ๊ฒ€์ƒ‰", description = "์œ ์ €๊ฐ€ ์ „์ฒด ์ธ์‚ฌ์ดํŠธ๋ฅผ ๊ฒ€์ƒ‰ํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” API")
@GetMapping("/search")
@PostMapping("/search")
public ResponseEntity<List<InsightSimpleResponseDto>> searchInsight(final @AuthenticationPrincipal PrincipalDetails principalDetails, final @RequestBody SearchReqDto searchReqDto) {
log.info("[FolderController] searchInsight {} called", principalDetails.getUserId());
return ResponseEntity.ok().body(folderService.findAllInsights(principalDetails.getUserId(), searchReqDto.getSearch()));
Expand Down

0 comments on commit 8091ec0

Please sign in to comment.