Merge branch 'develop' into mkjs-n

This commit is contained in:
tamaina 2023-05-19 22:45:50 +09:00 committed by GitHub
commit e76c1d8956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
94 changed files with 1134 additions and 421 deletions

View file

@ -93,6 +93,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
const query = this.notesRepository.createQueryBuilder('note')
.where('note.id IN (:...noteIds)', { noteIds: noteIds })
.andWhere('(note.visibility = \'public\')')
.innerJoinAndSelect('note.user', 'user')
.leftJoinAndSelect('note.reply', 'reply')
.leftJoinAndSelect('note.renote', 'renote')