Skip to content

Commit

Permalink
fixed some typescript bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgo0018 authored Jun 11, 2024
1 parent e0dc518 commit 2c11757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GoTrueClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,8 @@ export default class GoTrueClient {
*/
async verifyOtp(params: VerifyOtpParams): Promise<AuthResponse> {
try {
let redirectTo = undefined
let captchaToken = undefined
let redirectTo: string | undefined = undefined
let captchaToken: string | undefined = undefined
if ('options' in params) {
redirectTo = params.options?.redirectTo
captchaToken = params.options?.captchaToken
Expand Down

0 comments on commit 2c11757

Please sign in to comment.