parent
3a105024c7
commit
5dfbce7571
13 changed files with 60 additions and 4 deletions
|
|
@ -45,6 +45,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
) {
|
||||
super(meta, paramDef, async (ps, me) => {
|
||||
const query = this.queryService.makePaginationQuery(this.channelsRepository.createQueryBuilder(), ps.sinceId, ps.untilId)
|
||||
.andWhere('channel.isArchived = FALSE')
|
||||
.andWhere({ userId: me.id });
|
||||
|
||||
const channels = await query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue