diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-05 21:53:49 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-05 21:53:49 +0200 |
commit | 4d4e5cd4dca78480ec7f40e747f424cd107376a4 (patch) | |
tree | 1b132aab503751ae0f4c8ee6c7595ad2d65f3a50 /server/controllers/api/videos | |
parent | e02643f32e4c97ca307f8fc5b69be79c40d70a3b (diff) | |
download | PeerTube-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.ts | 4 | ||||
-rw-r--r-- | server/controllers/api/videos/blacklist.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/videos/index.ts | 8 | ||||
-rw-r--r-- | server/controllers/api/videos/rate.ts | 2 |
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 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | import { waterfall } from 'async' | 2 | import { waterfall } from 'async' |
3 | 3 | ||
4 | import { database as db } from '../../../initializers/database' | 4 | import { database as db } from '../../../initializers/database' |
5 | import friends = require('../../../lib/friends') | 5 | import * as friends from '../../../lib/friends' |
6 | import { | 6 | import { |
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 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | 2 | ||
3 | import { database as db } from '../../../initializers/database' | 3 | import { database as db } from '../../../initializers/database' |
4 | import { logger } from '../../../helpers' | 4 | import { 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 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | import fs = require('fs') | 2 | import * as fs from 'fs' |
3 | import multer = require('multer') | 3 | import * as multer from 'multer' |
4 | import path = require('path') | 4 | import * as path from 'path' |
5 | import { waterfall } from 'async' | 5 | import { waterfall } from 'async' |
6 | 6 | ||
7 | import { database as db } from '../../../initializers/database' | 7 | import { 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 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | import { waterfall } from 'async' | 2 | import { waterfall } from 'async' |
3 | 3 | ||
4 | import { database as db } from '../../../initializers/database' | 4 | import { database as db } from '../../../initializers/database' |