Skip to content

Commit

Permalink
worked on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Nov 29, 2023
1 parent f202b7e commit f806d19
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Amplify/Categories/Auth/AuthCategory+UserBehavior.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ extension AuthCategory: AuthCategoryUserBehavior {
try await plugin.update(userAttributes: userAttributes, options: options)
}

@available(*, deprecated, renamed: "sendVerificationCode")
public func resendConfirmationCode(
forUserAttributeKey userAttributeKey: AuthUserAttributeKey,
options: AuthAttributeResendConfirmationCodeRequest.Options? = nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public extension AWSCognitoAuthPlugin {
} as! [AuthUserAttributeKey: AuthUpdateAttributeResult]
}

@available(*, deprecated, renamed: "sendVerificationCode")
func resendConfirmationCode(
forUserAttributeKey userAttributeKey: AuthUserAttributeKey,
options: AuthAttributeResendConfirmationCodeRequest.Options? = nil
Expand Down

0 comments on commit f806d19

Please sign in to comment.