diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-07 10:07:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:30:31 +0200 |
commit | a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4 (patch) | |
tree | cf2feafcfadb5b6e9784c86d67e692db8d599b7d /server/controllers/api/users.ts | |
parent | 990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66 (diff) | |
download | PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.tar.gz PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.tar.zst PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.zip |
Add import.video.torrent configuration
Diffstat (limited to 'server/controllers/api/users.ts')
-rw-r--r-- | server/controllers/api/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts index 879ba3f91..36bf0e0fe 100644 --- a/server/controllers/api/users.ts +++ b/server/controllers/api/users.ts | |||
@@ -196,7 +196,7 @@ async function getUserVideos (req: express.Request, res: express.Response, next: | |||
196 | async function getUserVideoImports (req: express.Request, res: express.Response, next: express.NextFunction) { | 196 | async function getUserVideoImports (req: express.Request, res: express.Response, next: express.NextFunction) { |
197 | const user = res.locals.oauth.token.User as UserModel | 197 | const user = res.locals.oauth.token.User as UserModel |
198 | const resultList = await VideoImportModel.listUserVideoImportsForApi( | 198 | const resultList = await VideoImportModel.listUserVideoImportsForApi( |
199 | user.Account.id, | 199 | user.id, |
200 | req.query.start as number, | 200 | req.query.start as number, |
201 | req.query.count as number, | 201 | req.query.count as number, |
202 | req.query.sort | 202 | req.query.sort |