Skip to content

Commit

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

@available(*, deprecated, renamed: "sendVerificationCode")
@available(*, deprecated, renamed: "sendVerificationCode(forUserAttributeKey:options:)")
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,7 +41,7 @@ public extension AWSCognitoAuthPlugin {
} as! [AuthUserAttributeKey: AuthUpdateAttributeResult]
}

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

0 comments on commit a1b6e3f

Please sign in to comment.