aboutsummaryrefslogtreecommitdiff
path: root/internal/authz/middleware.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/authz/middleware.go')
-rw-r--r--internal/authz/middleware.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/authz/middleware.go b/internal/authz/middleware.go
index f4838ec..f7e1728 100644
--- a/internal/authz/middleware.go
+++ b/internal/authz/middleware.go
@@ -64,7 +64,7 @@ func Authorization(adminSvc *admin.Servicer, next http.Handler) http.Handler {
action := req.Method
ok, err := adminSvc.Enforce(urn, repo, action)
if err != nil {
- slog.Info("error unning enforce", "error", err)
+ slog.Info("error running enforce", "error", err)
http.Error(rw, "Bad Request", http.StatusBadRequest)
return
}