-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update otp fields as per authorizer 1.1.56
- Loading branch information
1 parent
553059b
commit 93f295f
Showing
5 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ func ResendOTPExample() { | |
if err != nil { | ||
panic(err) | ||
} | ||
|
||
email := "[email protected]" | ||
res, err := c.ResendOTP(&authorizer.ResendOTPInput{ | ||
Email: "[email protected]", | ||
Email: &email, | ||
}) | ||
if err != nil { | ||
panic(err) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,10 @@ func VerifyOTPExample() { | |
if err != nil { | ||
panic(err) | ||
} | ||
|
||
email := "[email protected]" | ||
res, err := c.VerifyOTP(&authorizer.VerifyOTPInput{ | ||
OTP: "test", | ||
Email: "[email protected]", | ||
Email: &email, | ||
}) | ||
if err != nil { | ||
panic(err) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters