filter ss events by account

This commit is contained in:
2026-01-20 21:11:02 -07:00
parent 1130366bf5
commit 4f2ae26d58
3 changed files with 42 additions and 20 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func (r *sseRouter) serveEvents(c *gin.Context) (response.Response, error) {
hdr.Set("Cache-Control", "no-cache")
w.Flush()
err := r.sse.Listen(ctx, func(ctx context.Context, e *sse.Event) error {
err := r.sse.Listen(ctx, acctID, func(ctx context.Context, e *sse.Event) error {
log.Debugf("sending event of type %s", e.Type)
e.Write(w)