Skip to content

Commit 9dfb2b7

Browse files
committed
Fix syntax
1 parent 1ac0786 commit 9dfb2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func AuthenticationHandler(next http.Handler) http.Handler {
6161
func authorisationFailed(w http.ResponseWriter, msg string, args ...any) {
6262
w.WriteHeader(http.StatusUnauthorized)
6363

64-
log.Errorf(msg, args)
64+
log.Errorf(msg, args...)
6565

6666
panic(helper.NewError("Authentication failed"))
6767
}

0 commit comments

Comments
 (0)