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:
parent
ddb83e49ec
commit
4e74e8032b
5 changed files with 37 additions and 37 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue