diff options
Diffstat (limited to 'server/controllers/api/users/me.ts')
-rw-r--r-- | server/controllers/api/users/me.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/users/me.ts b/server/controllers/api/users/me.ts index 914c52e27..ba60a3d2a 100644 --- a/server/controllers/api/users/me.ts +++ b/server/controllers/api/users/me.ts | |||
@@ -17,6 +17,7 @@ import { | |||
17 | paginationValidator, | 17 | paginationValidator, |
18 | setDefaultPagination, | 18 | setDefaultPagination, |
19 | setDefaultSort, | 19 | setDefaultSort, |
20 | setDefaultVideosSort, | ||
20 | usersUpdateMeValidator, | 21 | usersUpdateMeValidator, |
21 | usersVideoRatingValidator | 22 | usersVideoRatingValidator |
22 | } from '../../../middlewares' | 23 | } from '../../../middlewares' |
@@ -60,7 +61,7 @@ meRouter.get('/me/videos', | |||
60 | authenticate, | 61 | authenticate, |
61 | paginationValidator, | 62 | paginationValidator, |
62 | videosSortValidator, | 63 | videosSortValidator, |
63 | setDefaultSort, | 64 | setDefaultVideosSort, |
64 | setDefaultPagination, | 65 | setDefaultPagination, |
65 | asyncMiddleware(getUserVideos) | 66 | asyncMiddleware(getUserVideos) |
66 | ) | 67 | ) |