Skip to content

Commit 646dc66

Browse files
fix: Fix reqPath for bypass check for verify EP (#1789)
## What kind of change does this PR introduce? Fix reqPath for verify check bypass test ## What is the current behavior? We are experiencing lot of 403 responses from /v1/verify EP. Supabase is returning "invalid or expired OTP". Correcting this test maybe will raise the cause of our problems. I did not setup the project on my machine, someone can run the test and check if it passes also on verify EP? ## What is the new behavior? Test is correct. ## Additional context Add any other context or screenshots.
1 parent 0a3968b commit 646dc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/middleware_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ func (ts *MiddlewareTestSuite) TestIsValidAuthorizedEmail() {
540540
},
541541
{
542542
desc: "bypass check for verify endpoint",
543-
reqPath: "/token",
543+
reqPath: "/verify",
544544
body: map[string]interface{}{
545545
"email": "[email protected]",
546546
},

0 commit comments

Comments
 (0)