diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-23 17:53:38 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:53 +0100 |
commit | 8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1 (patch) | |
tree | 078708f8316ed6294088b159f79e861664fca953 /server/helpers/utils.ts | |
parent | 39445ead45aaaea801ec09991b8dd2464f722e47 (diff) | |
download | PeerTube-8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1.tar.gz PeerTube-8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1.tar.zst PeerTube-8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1.zip |
Cleanup helpers
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) { |