diff options
Diffstat (limited to 'server/models/video/video-channel.ts')
-rw-r--r-- | server/models/video/video-channel.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts index 4e98e7ba3..835216671 100644 --- a/server/models/video/video-channel.ts +++ b/server/models/video/video-channel.ts | |||
@@ -30,7 +30,7 @@ import { buildServerIdsFollowedBy, buildTrigramSearchIndex, createSimilarityAttr | |||
30 | import { VideoModel } from './video' | 30 | import { VideoModel } from './video' |
31 | import { CONSTRAINTS_FIELDS, WEBSERVER } from '../../initializers/constants' | 31 | import { CONSTRAINTS_FIELDS, WEBSERVER } from '../../initializers/constants' |
32 | import { ServerModel } from '../server/server' | 32 | import { ServerModel } from '../server/server' |
33 | import { FindOptions, ModelIndexesOptions, Op } from 'sequelize' | 33 | import { FindOptions, Op } from 'sequelize' |
34 | import { AvatarModel } from '../avatar/avatar' | 34 | import { AvatarModel } from '../avatar/avatar' |
35 | import { VideoPlaylistModel } from './video-playlist' | 35 | import { VideoPlaylistModel } from './video-playlist' |
36 | import * as Bluebird from 'bluebird' | 36 | import * as Bluebird from 'bluebird' |
@@ -121,7 +121,7 @@ export type SummaryOptions = { | |||
121 | }, | 121 | }, |
122 | { | 122 | { |
123 | serverId: { | 123 | serverId: { |
124 | [ Op.in ]: Sequelize.literal(inQueryInstanceFollow) | 124 | [Op.in]: Sequelize.literal(inQueryInstanceFollow) |
125 | } | 125 | } |
126 | } | 126 | } |
127 | ] | 127 | ] |
@@ -348,9 +348,9 @@ export class VideoChannelModel extends Model<VideoChannelModel> { | |||
348 | } | 348 | } |
349 | 349 | ||
350 | static listByAccount (options: { | 350 | static listByAccount (options: { |
351 | accountId: number, | 351 | accountId: number |
352 | start: number, | 352 | start: number |
353 | count: number, | 353 | count: number |
354 | sort: string | 354 | sort: string |
355 | }) { | 355 | }) { |
356 | const query = { | 356 | const query = { |