Skip to content

Commit

Permalink
🚑 Follow-up fixup for fd183dd
Browse files Browse the repository at this point in the history
Ref #61
  • Loading branch information
webknjaz committed Aug 25, 2024
1 parent 546968a commit 116222c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions octomachinery/github/api/app_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,10 @@ async def get_installation_by_id(self, install_id):
"""Retrieve an installation with access tokens via API."""
return GitHubAppInstallation(
dict_to_kwargs_cb(GitHubAppInstallationModel)(
**(
await self.api_client.getitem(
'/app/installations/{installation_id}',
url_vars={'installation_id': install_id},
preview_api_version='machine-man',
)
await self.api_client.getitem(
'/app/installations/{installation_id}',
url_vars={'installation_id': install_id},
preview_api_version='machine-man',
),
),
self,
Expand Down

0 comments on commit 116222c

Please sign in to comment.