New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(@aws-amplify/core): Use identityPoolRegion param correctly #10709
Conversation
Codecov Report
@@ Coverage Diff @@
## main #10709 +/- ##
==========================================
+ Coverage 85.71% 86.14% +0.43%
==========================================
Files 196 196
Lines 18335 18337 +2
Branches 3900 3902 +2
==========================================
+ Hits 15715 15797 +82
+ Misses 2544 2465 -79
+ Partials 76 75 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
ca6669d
to
75d849f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
9c59c2d
}; | ||
} | ||
if (params instanceof GetCredentialsForIdentityCommand) { | ||
console.log('GetCredentialsForIdentityCommand', params); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need that console.log?
identity_id: '123', | ||
}); | ||
|
||
console.log('YYYY'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this one as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Description of changes
identityPoolRegion
param wasn't use correctly when different regions where used.Issue #, if available
fixes: #6462
Description of how you validated changes
Integ test PR https://github.com/aws-amplify/amplify-js-samples-staging/pull/482
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.