We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420a64d commit b9d4fdbCopy full SHA for b9d4fdb
src/django_github_app/models.py
@@ -91,7 +91,9 @@ async def aget_or_create_from_event(self, event: sansio.Event):
91
if installation is None and "installation" in event.data:
92
app_id = event.data["installation"]["app_id"]
93
if app_id == int(app_settings.APP_ID):
94
- installation = await self.acreate_from_gh_data(event.data["installation"])
+ installation = await self.acreate_from_gh_data(
95
+ event.data["installation"]
96
+ )
97
return installation
98
99
create_from_event = async_to_sync_method(acreate_from_event)
0 commit comments