From 7074f80ea285f27dc2d7fc77236cb98e73810534 Mon Sep 17 00:00:00 2001 From: Daiki Mizukami Date: Mon, 19 Aug 2024 23:16:08 +0900 Subject: [PATCH] refactor(backend): remove redundant SQL clause --- packages/backend/src/server/ActivityPubServerService.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/backend/src/server/ActivityPubServerService.ts b/packages/backend/src/server/ActivityPubServerService.ts index b53fba2661..5d4c17ab1d 100644 --- a/packages/backend/src/server/ActivityPubServerService.ts +++ b/packages/backend/src/server/ActivityPubServerService.ts @@ -400,7 +400,6 @@ export class ActivityPubServerService { .limit(limit + 1) .orderBy('reaction.id', 'DESC') .innerJoinAndSelect('reaction.note', 'note') - .distinctOn(['note.id']) .getMany(); // 「次のページ」があるかどうか