aws-amplify / amplify-js

A declarative JavaScript library for application development using cloud services.
https://docs.amplify.aws/lib/q/platform/js
Apache License 2.0
9.36k stars 2.1k forks source link

fix: Await network call on identifyUser APIs #13313

Closed cshfang closed 2 weeks ago

cshfang commented 2 weeks ago

Description of changes

When investigating a separate issue, it was discovered that all identifyUser APIs are currently not awaiting on the underlying network call.

Description of how you validated changes

Validated that code execution when awaiting identifyUser is now awaiting completion of updateEndpoint before moving on.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.