Skip to content

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Jul 11, 2024

Use async await for better readability.

Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@wolfy1339 wolfy1339 added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Jul 11, 2024
@wolfy1339 wolfy1339 changed the title Break up promise chain fix(refactor): break-up Promise chain Jul 11, 2024
@Uzlopak Uzlopak force-pushed the break-up-promise-chain branch from 2fda9dd to 3714acc Compare July 12, 2024 02:07
@Uzlopak Uzlopak marked this pull request as ready for review July 12, 2024 07:50
@Uzlopak
Copy link
Contributor Author

Uzlopak commented Jul 12, 2024

Yes, it is kind of a heavy change, but it does not contain any breaking change :)

@Uzlopak Uzlopak changed the title fix(refactor): break-up Promise chain fix(refactor): async await instead of Promise chain Jul 12, 2024
@Uzlopak
Copy link
Contributor Author

Uzlopak commented Jul 12, 2024

@wolfy1339
I adapted your requested changes but added the async for getResponseData. I will touch that function in a separate PR.

@wolfy1339 wolfy1339 merged commit 611b275 into octokit:main Jul 13, 2024
Copy link

🎉 This issue has been resolved in version 9.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants