Skip to content

Commit b476311

Browse files
authored
Merge pull request #186 from team-gogo/hotfix/community-board-view
[community] 조회수 저장시 studentId 초기화 문제
2 parents 60ca184 + 684a257 commit b476311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/gogo/gogostage/domain/community/root/application/CommunityProcessor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class CommunityProcessor(
144144
if (!boardViewRepository.existsByBoardIdAndStudentId(board.id, board.studentId)) {
145145
val newBoardView = BoardView(
146146
board = board,
147-
studentId = board.studentId,
147+
studentId = event.studentId,
148148
)
149149

150150
boardViewRepository.save(newBoardView)

0 commit comments

Comments
 (0)