summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/children.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-03-21 12:33:37 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-03-21 12:33:37 +0900
commit70b129cc421c10260a298519521ca646cbc59ab8 (patch)
tree920ed074cbfa05497cfda98c2aaa8c06a65d77b2 /src/server/api/endpoints/notes/children.ts
parentRevert "fix(server): Use inner join" (diff)
downloadsharkey-70b129cc421c10260a298519521ca646cbc59ab8.tar.gz
sharkey-70b129cc421c10260a298519521ca646cbc59ab8.tar.bz2
sharkey-70b129cc421c10260a298519521ca646cbc59ab8.zip
fix(server): Use inner join
Diffstat (limited to 'src/server/api/endpoints/notes/children.ts')
-rw-r--r--src/server/api/endpoints/notes/children.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/notes/children.ts b/src/server/api/endpoints/notes/children.ts
index a8b239e445..072a25e024 100644
--- a/src/server/api/endpoints/notes/children.ts
+++ b/src/server/api/endpoints/notes/children.ts
@@ -64,7 +64,7 @@ export default define(meta, async (ps, user) => {
}));
}));
}))
- .leftJoinAndSelect('note.user', 'user')
+ .innerJoinAndSelect('note.user', 'user')
.leftJoinAndSelect('note.reply', 'reply')
.leftJoinAndSelect('note.renote', 'renote')
.leftJoinAndSelect('reply.user', 'replyUser')