diff --git a/packages/pds/src/api/com/atproto/sync/listBlobs.ts b/packages/pds/src/api/com/atproto/sync/listBlobs.ts index dd05ee9b9e4..c6700d28dce 100644 --- a/packages/pds/src/api/com/atproto/sync/listBlobs.ts +++ b/packages/pds/src/api/com/atproto/sync/listBlobs.ts @@ -22,6 +22,7 @@ export default function (server: Server, ctx: AppContext) { .where('did', '=', did) .select('cid') .orderBy('cid', 'asc') + .groupBy('cid') .limit(limit) if (since) { builder = builder.where('repoRev', '>', since)