diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/clients.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/config.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/index.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/pods.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/remote/index.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/remote/pods.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/remote/videos.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/requests.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/users.ts | 2 | ||||
-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 |
13 files changed, 17 insertions, 17 deletions
diff --git a/server/controllers/api/clients.ts b/server/controllers/api/clients.ts index 614163c83..f6499556a 100644 --- a/server/controllers/api/clients.ts +++ b/server/controllers/api/clients.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | 2 | ||
3 | import { CONFIG } from '../../initializers'; | 3 | import { CONFIG } from '../../initializers'; |
4 | import { logger } from '../../helpers' | 4 | import { logger } from '../../helpers' |
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 8bdde61b3..57c9398ec 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | 2 | ||
3 | import { CONFIG } from '../../initializers' | 3 | import { CONFIG } from '../../initializers' |
4 | 4 | ||
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts index 18bef2d3d..98004544d 100644 --- a/server/controllers/api/index.ts +++ b/server/controllers/api/index.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | 2 | ||
3 | import { badRequest } from '../../helpers' | 3 | import { badRequest } from '../../helpers' |
4 | 4 | ||
diff --git a/server/controllers/api/pods.ts b/server/controllers/api/pods.ts index 4ff1f5d9f..a028c4ab9 100644 --- a/server/controllers/api/pods.ts +++ b/server/controllers/api/pods.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' |
diff --git a/server/controllers/api/remote/index.ts b/server/controllers/api/remote/index.ts index b11439204..d3522772b 100644 --- a/server/controllers/api/remote/index.ts +++ b/server/controllers/api/remote/index.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | 2 | ||
3 | import { badRequest } from '../../../helpers' | 3 | import { badRequest } from '../../../helpers' |
4 | 4 | ||
diff --git a/server/controllers/api/remote/pods.ts b/server/controllers/api/remote/pods.ts index 7a9a0c4f0..9c9d2164d 100644 --- a/server/controllers/api/remote/pods.ts +++ b/server/controllers/api/remote/pods.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | import * as waterfall from 'async/waterfall' | 2 | import * as waterfall from 'async/waterfall' |
3 | 3 | ||
4 | import { database as db } from '../../../initializers/database' | 4 | import { database as db } from '../../../initializers/database' |
diff --git a/server/controllers/api/remote/videos.ts b/server/controllers/api/remote/videos.ts index 178a21e7c..d97a3db31 100644 --- a/server/controllers/api/remote/videos.ts +++ b/server/controllers/api/remote/videos.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | import { eachSeries, waterfall } from 'async' | 2 | import { eachSeries, waterfall } from 'async' |
3 | 3 | ||
4 | import { database as db } from '../../../initializers/database' | 4 | import { database as db } from '../../../initializers/database' |
diff --git a/server/controllers/api/requests.ts b/server/controllers/api/requests.ts index 304499a4f..ff4b4ac1a 100644 --- a/server/controllers/api/requests.ts +++ b/server/controllers/api/requests.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import express = require('express') | 1 | import * as express from 'express' |
2 | import { parallel } from 'async' | 2 | import { parallel } from 'async' |
3 | 3 | ||
4 | import { | 4 | import { |
diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts index 97a744f54..44c5ec13c 100644 --- a/server/controllers/api/users.ts +++ b/server/controllers/api/users.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' |
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' |