mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
attempt to fix test
This commit is contained in:
parent
2419e2ff36
commit
4cf0f5ec9e
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
}
|
||||
|
||||
const query = this.queryService.makePaginationQuery(this.notesRepository.createQueryBuilder('note'), ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate);
|
||||
query.andWhere(':file <@ note.fileIds', { file: [file.id] });
|
||||
query.andWhere('note.fileIds @> :file', { file: [file.id] });
|
||||
|
||||
const notes = await query.limit(ps.limit).getMany();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue