Skip to content

Commit

Permalink
Merge pull request #21 from With-Mate/fix/sticker/sh
Browse files Browse the repository at this point in the history
Fix(sticker) : stickerNum 시작 숫자 코드 에러 수정
  • Loading branch information
seohyun-lee authored Feb 16, 2024
2 parents a23f3ec + f8f6c34 commit 6a43c49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public StickerPreviewResDto createSticker(StickerCreateDTO stickerCreateDTO) {
Member member = memberService.getCurrentMember();
Week currentWeek = weekService.updateStickerCountOfCurrentWeek(1L);
Sticker sticker = Sticker.builder()
.stickerNum(currentWeek.getStickerCount() + 1) // 처음에 1L
.stickerNum(currentWeek.getStickerCount()) // 처음에 1L
.title(stickerCreateDTO.getTitle())
.content("")
.impression("")
Expand Down

0 comments on commit 6a43c49

Please sign in to comment.