Skip to content

Commit

Permalink
fix: ensure we only return a document once
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Feb 12, 2024
1 parent a6e065b commit 7b74329
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/repos/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def get_shared_documents(
.order_by(Document.last_updated_at.asc())
.offset(page * size)
.limit(size)
.distinct()
)

filters = list()
Expand Down

0 comments on commit 7b74329

Please sign in to comment.