Skip to content

Commit

Permalink
quickfix: document logs repository leaking data from other workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
geclos committed Sep 27, 2024
1 parent 0fef860 commit 1ca36f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class DocumentLogsRepository extends Repository<typeof tt, DocumentLog> {
.innerJoin(commits, eq(commits.id, documentLogs.commitId))
.innerJoin(projects, eq(projects.id, commits.projectId))
.innerJoin(workspaces, eq(workspaces.id, projects.workspaceId))
.where(eq(workspaces.id, this.workspaceId))
.as('documentLogsScope')
}

Expand Down

0 comments on commit 1ca36f5

Please sign in to comment.