diff options
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 |