Skip to content

Commit b9d4fdb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 420a64d commit b9d4fdb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/django_github_app/models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ async def aget_or_create_from_event(self, event: sansio.Event):
9191
if installation is None and "installation" in event.data:
9292
app_id = event.data["installation"]["app_id"]
9393
if app_id == int(app_settings.APP_ID):
94-
installation = await self.acreate_from_gh_data(event.data["installation"])
94+
installation = await self.acreate_from_gh_data(
95+
event.data["installation"]
96+
)
9597
return installation
9698

9799
create_from_event = async_to_sync_method(acreate_from_event)

0 commit comments

Comments
 (0)