diff --git a/internal/api/middleware_test.go b/internal/api/middleware_test.go index 365abbbdb4..33b62a79db 100644 --- a/internal/api/middleware_test.go +++ b/internal/api/middleware_test.go @@ -540,7 +540,7 @@ func (ts *MiddlewareTestSuite) TestIsValidAuthorizedEmail() { }, { desc: "bypass check for verify endpoint", - reqPath: "/token", + reqPath: "/verify", body: map[string]interface{}{ "email": "valid@example.com", },