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

Refactor: encapsulate REST API GET calls #248

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

webbnh
Copy link
Collaborator

@webbnh webbnh commented Dec 4, 2024

This PR is the first of the series of refactorings originally set out in #207 which endeavors to replace duplicated code in Sync2Jira with common subroutines.

This change renames and generalizes a utility routine used to make a GET call to a REST API (to GitHub, in particular) so that it can be used in other places in the code, as well (coming in a future PR). And, it updates the unit tests for the new function name and change in function signature.

@webbnh webbnh self-assigned this Dec 4, 2024
@ralphbean
Copy link
Member

/retest

@ralphbean ralphbean enabled auto-merge (squash) December 4, 2024 20:03
@ralphbean ralphbean merged commit 229a533 into main Dec 4, 2024
6 checks passed
@ralphbean ralphbean deleted the encapsulate-api-get branch December 4, 2024 20:12
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