Skip to content

Commit

Permalink
change log leve
Browse files Browse the repository at this point in the history
  • Loading branch information
anvari1313 committed Sep 10, 2024
1 parent 27871ba commit da1f4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (a API) Authv2(c *fiber.Ctx) error {

if !errors.Is(err, jwt.ErrTokenExpired) {
a.Logger.
Error("auth request is not authorized",
Debug("auth request is not authorized",

Check warning on line 131 in internal/api/auth.go

View check run for this annotation

Codecov / codecov/patch

internal/api/auth.go#L131

Added line #L131 was not covered by tests
zap.Error(err),
zap.String("token", request.Token),
zap.String("username", request.Username),
Expand Down

0 comments on commit da1f4ce

Please sign in to comment.