Skip to content

Commit ac52a85

Browse files
Update apps/worker/tasks/preprocess_upload.py
1 parent 8c9035e commit ac52a85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/worker/tasks/preprocess_upload.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def process_impl_within_lock(self, db_session, repoid, commitid):
103103
db_session.query(Commit)
104104
.filter(Commit.repoid == repoid, Commit.commitid == commitid)
105105
.options(
106-
joinedload(Commit.repository).joinedload(Repository.author).joinedload(
106+
joinedload(Commit.repository)
107+
.joinedload(Repository.author)
108+
.joinedload(
107109
Owner.github_app_installations
108110
)
109111
)

0 commit comments

Comments
 (0)