1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Cleanup helpers

This commit is contained in:
Chocobozzz 2017-11-23 17:53:38 +01:00
parent 39445ead45
commit 8d468a16fd
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 57 additions and 169 deletions

View file

@ -1,11 +1,10 @@
import * as express from 'express'
import * as Sequelize from 'sequelize'
import { pseudoRandomBytesPromise } from './core-utils'
import { CONFIG, database as db } from '../initializers'
import { ResultList } from '../../shared'
import { VideoResolution } from '../../shared/models/videos/video-resolution.enum'
import { CONFIG, database as db } from '../initializers'
import { AccountInstance } from '../models/account/account-interface'
import { pseudoRandomBytesPromise } from './core-utils'
import { logger } from './logger'
function badRequest (req: express.Request, res: express.Response, next: express.NextFunction) {