Search & Gracefull Close on Websocket

This commit is contained in:
mr
2026-03-13 10:28:24 +01:00
parent a11d764729
commit 80bb9ffbed
4 changed files with 45 additions and 22 deletions

View File

@@ -36,7 +36,7 @@ func wsSearchHandler(dataType int) http.HandlerFunc {
DataType: dataType,
Payload: b,
})
controllers.Websocket(user, groups, dataType, w, r)
controllers.Websocket(r.Context(), user, groups, dataType, w, r)
}
}