Skip to content
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 unintended limitation with fetching APIs #393

Merged
1 commit merged into from
May 15, 2020
Merged

Fix unintended limitation with fetching APIs #393

1 commit merged into from
May 15, 2020

Conversation

ghost
Copy link

@ghost ghost commented May 15, 2020

Issue #, if available:

Description of changes: Instead of just requesting it blindly, we now loop to ensure we get every API.

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

}).promise()
const apis = restApiResult.items

if (restApiResult.position != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

want while instead of if?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. 🤦‍♀️

@ghost ghost force-pushed the fix-api-fetch branch from 98e5682 to 35c5058 Compare May 15, 2020 19:09
@ghost ghost requested a review from etsung-aws May 15, 2020 19:09
@ghost ghost merged commit 16db1ae into staging May 15, 2020
@ghost ghost deleted the fix-api-fetch branch May 15, 2020 21:03
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants