Closed alexthemitchell closed 1 year ago
Hi @alexthemitchell 👋
This issue was specific to aws-amplify 4.3.12
and the current version should work without generating this error. Closing this out for now, but let me know if you have any questions/comments.
Page:
/lib/auth/delete_user/q/platform/[platform]
Feedback:
The function on this page uses
Auth.deleteUser()
; when importing as provided in previous examples, Auth.deleteUser does not appear to be a function foraws-amplify 4.3.12
.It seems that this example expects that we have imported
@aws-amplify/auth
Then the provided example returns a
Promise<string | void>
that resolves toSUCCESS
as expected.