chore(server): staticcheck - remove useless return

pull/5904/head
Pavel Zavora 2022-03-16 08:38:21 +01:00
parent 04207365a2
commit 2846dc27c2
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ func AuthorizedToken(auth oauth2.Authenticator, logger chronograf.Logger, next h
// Send the principal to the next handler
ctx = context.WithValue(ctx, oauth2.PrincipalKey, principal)
next.ServeHTTP(w, r.WithContext(ctx))
return
})
}