Skip to content

Commit

Permalink
hotfix: sse lastEventId null체크
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Cha committed May 12, 2024
1 parent f8e3dd0 commit c71ef6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public SseEmitter subscribe(String lastEventId) {
sendSse(emitter, emitterId, emitterId, sseDTO);

// 클라이언트가 미수신한 Event 전송
if (!lastEventId.isEmpty()) {
if (lastEventId != null && !lastEventId.isEmpty()) {
sendLostData(lastEventId, String.valueOf(loginUserId), emitterId, emitter);
}

Expand Down

0 comments on commit c71ef6f

Please sign in to comment.