1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Remove inferred type

This commit is contained in:
Chocobozzz 2018-12-05 14:36:05 +01:00
parent ddb83e49ec
commit 4e74e8032b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 37 additions and 37 deletions

View file

@ -74,10 +74,10 @@ async function listVideoAccountChannels (req: express.Request, res: express.Resp
async function listAccountVideos (req: express.Request, res: express.Response, next: express.NextFunction) {
const account: AccountModel = res.locals.account
const actorId = isUserAbleToSearchRemoteURI(res) ? null : undefined
const followerActorId = isUserAbleToSearchRemoteURI(res) ? null : undefined
const resultList = await VideoModel.listForApi({
actorId,
followerActorId,
start: req.query.start,
count: req.query.count,
sort: req.query.sort,