Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93c2d5 commit f7023a4Copy full SHA for f7023a4
coderd/httpmw/authz.go
@@ -12,7 +12,7 @@ import (
12
// usage as a system user in some cases, but not all cases. To avoid large
13
// refactors, we use this middleware to temporarily set the context to a system.
14
//
15
-// TODO: Refact the middleware functions to not require this.
+// TODO: Refactor the middleware functions to not require this.
16
func AsAuthzSystem(mws ...func(http.Handler) http.Handler) func(http.Handler) http.Handler {
17
chain := chi.Chain(mws...)
18
return func(next http.Handler) http.Handler {
0 commit comments