Skip to content

Commit d2e263b

Browse files
committed
fixup! add initial heartbeat
1 parent 8839da3 commit d2e263b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/render/sse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type SSEErrorData struct {
3939

4040
type SSEEvent struct {
4141
Type string `json:"type"`
42-
Data any `json:"data"`
42+
Data any `json:"data,omitempty"`
4343
}
4444

4545
func NewErrorEvent(data any) SSEEvent {

0 commit comments

Comments
 (0)