aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/accounts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/accounts.ts')
-rw-r--r--server/controllers/api/accounts.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/controllers/api/accounts.ts b/server/controllers/api/accounts.ts
index aa01ea1eb..8d4db1e75 100644
--- a/server/controllers/api/accounts.ts
+++ b/server/controllers/api/accounts.ts
@@ -1,22 +1,22 @@
1import * as express from 'express' 1import * as express from 'express'
2import { getFormattedObjects, getServerActor } from '../../helpers/utils' 2import { getFormattedObjects, getServerActor } from '../../helpers/utils'
3import { 3import {
4 authenticate,
5 asyncMiddleware, 4 asyncMiddleware,
5 authenticate,
6 commonVideosFiltersValidator, 6 commonVideosFiltersValidator,
7 videoRatingValidator,
8 optionalAuthenticate, 7 optionalAuthenticate,
9 paginationValidator, 8 paginationValidator,
10 setDefaultPagination, 9 setDefaultPagination,
11 setDefaultSort, 10 setDefaultSort,
12 videoPlaylistsSortValidator, 11 videoPlaylistsSortValidator,
13 videoRatesSortValidator 12 videoRatesSortValidator,
13 videoRatingValidator
14} from '../../middlewares' 14} from '../../middlewares'
15import { 15import {
16 accountNameWithHostGetValidator, 16 accountNameWithHostGetValidator,
17 accountsSortValidator, 17 accountsSortValidator,
18 videosSortValidator, 18 ensureAuthUserOwnsAccountValidator,
19 ensureAuthUserOwnsAccountValidator 19 videosSortValidator
20} from '../../middlewares/validators' 20} from '../../middlewares/validators'
21import { AccountModel } from '../../models/account/account' 21import { AccountModel } from '../../models/account/account'
22import { AccountVideoRateModel } from '../../models/account/account-video-rate' 22import { AccountVideoRateModel } from '../../models/account/account-video-rate'