-
Notifications
You must be signed in to change notification settings - Fork 15
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]:fix install repo is id bug #460
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis pull request addresses a bug related to the installation repository ID by converting the Changes
|
@@ -76,9 +76,9 @@ def github_app_callback(code: str, installation_id: str, setup_action: str): | |||
) | |||
for repo in installed_repositories["repositories"]: | |||
repository_config = RepositoryConfig( | |||
owner_id=repo["owner"]["id"], | |||
owner_id=str(repo["owner"]["id"]), |
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.
Converting owner_id
to a string ensures consistent handling of IDs, which can prevent potential issues if the ID is expected to be a string elsewhere in the code.
repo_name=repo["full_name"], | ||
repo_id=repo["id"], | ||
repo_id=str(repo["id"]), |
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.
Converting repo_id
to a string ensures consistent handling of IDs, which can prevent potential issues if the ID is expected to be a string elsewhere in the code.
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
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.
LG
close #458