Fixed bug where two requests got merged

This commit is contained in:
beta
2023-09-09 09:37:36 -07:00
parent 94027dcf9b
commit e7d6fdab69
+1
View File
@@ -193,6 +193,7 @@ func (c *Controller) WithUser(next http.Handler) http.Handler {
if err == nil {
withUser := context.WithValue(r.Context(), CtxUser, user)
next.ServeHTTP(w, r.WithContext(withUser))
return
}
}