Skip to content

Commit

Permalink
feat: change company info
Browse files Browse the repository at this point in the history
  • Loading branch information
anvari1313 committed Jun 22, 2024
1 parent 61b03d3 commit 207e08a
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 @@ -98,7 +98,7 @@ func (a API) Authv2(c *fiber.Ctx) error {
Warn("bad request",
zap.Error(err),
)
authenticator.IncrementWithErrorAuthCounter("unknown", err)
authenticator.IncrementWithErrorAuthCounter("unknown_company_before_parse_body", err)

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

View check run for this annotation

Codecov / codecov/patch

internal/api/auth.go#L101

Added line #L101 was not covered by tests

return c.Status(http.StatusOK).JSON(AuthResponse{
Result: "deny",
Expand Down

0 comments on commit 207e08a

Please sign in to comment.