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 d5de92a commit 27871ba
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 @@ -61,7 +61,7 @@ func (a API) Authv1(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 64 in internal/api/auth.go

View check run for this annotation

Codecov / codecov/patch

internal/api/auth.go#L64

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

0 comments on commit 27871ba

Please sign in to comment.