Skip to content

Commit

Permalink
[TDC-47] 로그인 없어도 조회 가능할 수 있도록
Browse files Browse the repository at this point in the history
  • Loading branch information
yerimkoko committed Jan 29, 2024
1 parent ae09e6f commit 024cc70
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ public class StickerController {
public ApiResponse<String> createReaction(@Valid @RequestBody AddReactionRequest request,
@PathVariable StickerGroup stickerGroup) {
stickerFacadeService.upsertSticker(request, stickerGroup);

return ApiResponse.OK;
}

@Operation(summary = "[스티커] 타겟들에 대한 스티커들을 조회합니다")
@GetMapping("/v1/sticker-group/{stickerGroup}/stickers")
public ApiResponse<List<TargetStickerAction>> getTargetStickerReactions(@PathVariable StickerGroup stickerGroup,
@RequestParam Set<String> targetIds,
@RequestParam String accountId) {
@RequestParam(required = false) String accountId) {
return ApiResponse.success(stickerFacadeService.getTargetStickerReactionResponse(stickerGroup, accountId, targetIds));
}

Expand Down

0 comments on commit 024cc70

Please sign in to comment.