aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-05 21:53:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-05 21:53:49 +0200
commit4d4e5cd4dca78480ec7f40e747f424cd107376a4 (patch)
tree1b132aab503751ae0f4c8ee6c7595ad2d65f3a50 /server/controllers/api/videos
parente02643f32e4c97ca307f8fc5b69be79c40d70a3b (diff)
downloadPeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.gz
PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.zst
PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.zip
require -> import
Diffstat (limited to 'server/controllers/api/videos')
-rw-r--r--server/controllers/api/videos/abuse.ts4
-rw-r--r--server/controllers/api/videos/blacklist.ts2
-rw-r--r--server/controllers/api/videos/index.ts8
-rw-r--r--server/controllers/api/videos/rate.ts2
4 files changed, 8 insertions, 8 deletions
diff --git a/server/controllers/api/videos/abuse.ts b/server/controllers/api/videos/abuse.ts
index 3dd884354..68db025b7 100644
--- a/server/controllers/api/videos/abuse.ts
+++ b/server/controllers/api/videos/abuse.ts
@@ -1,8 +1,8 @@
1import express = require('express') 1import * as express from 'express'
2import { waterfall } from 'async' 2import { waterfall } from 'async'
3 3
4import { database as db } from '../../../initializers/database' 4import { database as db } from '../../../initializers/database'
5import friends = require('../../../lib/friends') 5import * as friends from '../../../lib/friends'
6import { 6import {
7 logger, 7 logger,
8 getFormatedObjects, 8 getFormatedObjects,
diff --git a/server/controllers/api/videos/blacklist.ts b/server/controllers/api/videos/blacklist.ts
index fb4d57d7b..58960798b 100644
--- a/server/controllers/api/videos/blacklist.ts
+++ b/server/controllers/api/videos/blacklist.ts
@@ -1,4 +1,4 @@
1import express = require('express') 1import * as express from 'express'
2 2
3import { database as db } from '../../../initializers/database' 3import { database as db } from '../../../initializers/database'
4import { logger } from '../../../helpers' 4import { logger } from '../../../helpers'
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 6eda7159b..b82b0936f 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -1,7 +1,7 @@
1import express = require('express') 1import * as express from 'express'
2import fs = require('fs') 2import * as fs from 'fs'
3import multer = require('multer') 3import * as multer from 'multer'
4import path = require('path') 4import * as path from 'path'
5import { waterfall } from 'async' 5import { waterfall } from 'async'
6 6
7import { database as db } from '../../../initializers/database' 7import { database as db } from '../../../initializers/database'
diff --git a/server/controllers/api/videos/rate.ts b/server/controllers/api/videos/rate.ts
index 571ff68e3..1bc575675 100644
--- a/server/controllers/api/videos/rate.ts
+++ b/server/controllers/api/videos/rate.ts
@@ -1,4 +1,4 @@
1import express = require('express') 1import * as express from 'express'
2import { waterfall } from 'async' 2import { waterfall } from 'async'
3 3
4import { database as db } from '../../../initializers/database' 4import { database as db } from '../../../initializers/database'