From 06f411ab668c5b5aa038a66cdad1d37066642118 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sun, 3 Sep 2023 21:32:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=81=84=E3=82=8D=E3=81=84=E3=82=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/server/api/endpoints/notes/hybrid-all-timeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts b/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts index 0899aa5279..d3d9fa346a 100644 --- a/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/hybrid-all-timeline.ts @@ -77,7 +77,7 @@ export default class extends Endpoint { // eslint- const query = this.queryService.makePaginationQuery(this.notesRepository.createQueryBuilder('note'), ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate) .andWhere('note.id > :minId', { minId: this.idService.genId(new Date(Date.now() - (1000 * 60 * 60 * 24 * 10))) }) // 10日前まで - .andWhere('(note.visibility = \'public\' OR note.visibility = \'home\') AND (note.userHost IS NULL)') + .andWhere('(note.visibility = \'home\') AND (note.userHost IS NULL)') .innerJoinAndSelect('note.user', 'user') .leftJoinAndSelect('note.reply', 'reply') .leftJoinAndSelect('note.renote', 'renote')