Skip to content

Commit

Permalink
fix: correct the sendUserAttributeConfirmationCode API name to the ne…
Browse files Browse the repository at this point in the history
…w name
  • Loading branch information
khatruong2009 committed Mar 18, 2024
1 parent 47e8072 commit 3d7eacc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
```dart
Future<void> resendVerificationCode() async {
try {
final result = await Amplify.Auth.resendUserAttributeConfirmationCode(
final result = await Amplify.Auth.sendUserAttributeConfirmationCode(
userAttributeKey: AuthUserAttributeKey.email,
);
_handleCodeDelivery(result.codeDeliveryDetails);
Expand Down

0 comments on commit 3d7eacc

Please sign in to comment.