Skip to content

Commit

Permalink
🚑 Wrap another GitHubAppInstallationModel call
Browse files Browse the repository at this point in the history
This is a follow-up for 97da1e9 that
didn't completely eliminate the exception reported in Sentry.

Ref #61
  • Loading branch information
webknjaz committed Aug 25, 2024
1 parent 7488984 commit fd183dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octomachinery/github/api/app_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def get_installation(self, event):
async def get_installation_by_id(self, install_id):
"""Retrieve an installation with access tokens via API."""
return GitHubAppInstallation(
GitHubAppInstallationModel(
dict_to_kwargs_cb(GitHubAppInstallationModel)(
**(
await self.api_client.getitem(
'/app/installations/{installation_id}',
Expand Down

0 comments on commit fd183dd

Please sign in to comment.