fix: include sessionID in sse logout event (#2327)

This commit is contained in:
Michael Barz
2026-02-12 17:21:09 +01:00
committed by GitHub
parent b4af917ab3
commit 1c493ec46b
2 changed files with 2 additions and 0 deletions

View File

@@ -16,4 +16,5 @@ type FileEvent struct {
type BackchannelLogout struct {
UserID string `json:"userid"`
Timestamp string `json:"timestamp"`
SessionID string `json:"sessionid"`
}

View File

@@ -300,5 +300,6 @@ func backchannelLogoutEvent(e events.BackchannelLogout) (string, []string, Backc
return "backchannel-logout", []string{e.Executant.GetOpaqueId()}, BackchannelLogout{
UserID: e.Executant.GetOpaqueId(),
Timestamp: e.Timestamp.String(),
SessionID: e.SessionId,
}
}