diff options
Diffstat (limited to 'server/helpers/utils.ts')
-rw-r--r-- | server/helpers/utils.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index 3af14a68a..3464341e6 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts | |||
@@ -1,11 +1,10 @@ | |||
1 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | import * as Sequelize from 'sequelize' | 2 | import * as Sequelize from 'sequelize' |
3 | |||
4 | import { pseudoRandomBytesPromise } from './core-utils' | ||
5 | import { CONFIG, database as db } from '../initializers' | ||
6 | import { ResultList } from '../../shared' | 3 | import { ResultList } from '../../shared' |
7 | import { VideoResolution } from '../../shared/models/videos/video-resolution.enum' | 4 | import { VideoResolution } from '../../shared/models/videos/video-resolution.enum' |
5 | import { CONFIG, database as db } from '../initializers' | ||
8 | import { AccountInstance } from '../models/account/account-interface' | 6 | import { AccountInstance } from '../models/account/account-interface' |
7 | import { pseudoRandomBytesPromise } from './core-utils' | ||
9 | import { logger } from './logger' | 8 | import { logger } from './logger' |
10 | 9 | ||
11 | function badRequest (req: express.Request, res: express.Response, next: express.NextFunction) { | 10 | function badRequest (req: express.Request, res: express.Response, next: express.NextFunction) { |