Fix linter errors
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
2022-08-21 19:49:16 +00:00
parent 08fbacc7e6
commit 4ef0b759ef
4 changed files with 18 additions and 3 deletions

View File

@ -35,7 +35,7 @@ func (h *Handler) verifyLogin(c echo.Context) (budgeteer.Token, error) { //nolin
tokenString = tokenString[7:]
token, err := h.TokenVerifier.VerifyToken(tokenString)
if err != nil {
return nil, fmt.Errorf("verify token '%s': %s", tokenString, err)
return nil, fmt.Errorf("verify token '%s': %w", tokenString, err)
}
return token, nil