refactor(backend): remove redundant SQL clause

This commit is contained in:
Daiki Mizukami 2024-08-19 23:16:08 +09:00
parent 2f2a0e3c5e
commit 7074f80ea2
No known key found for this signature in database
GPG Key ID: 10478E598B944AA2

View File

@ -400,7 +400,6 @@ export class ActivityPubServerService {
.limit(limit + 1)
.orderBy('reaction.id', 'DESC')
.innerJoinAndSelect('reaction.note', 'note')
.distinctOn(['note.id'])
.getMany();
// 「次のページ」があるかどうか