Skip to content

Commit 412e80f

Browse files
authored
fix(webapp): hide outdated connected repos from deleted installations (#2538)
1 parent 49728b5 commit 412e80f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/webapp/app/services/projectSettingsPresenter.server.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ export class ProjectSettingsPresenter {
5454
this.#prismaClient.connectedGithubRepository.findFirst({
5555
where: {
5656
projectId,
57+
repository: {
58+
installation: {
59+
deletedAt: null,
60+
suspendedAt: null,
61+
},
62+
},
5763
},
5864
select: {
5965
branchTracking: true,

0 commit comments

Comments
 (0)