diff options
Diffstat (limited to 'server/controllers/api/remote')
-rw-r--r-- | server/controllers/api/remote/pods.ts | 4 | ||||
-rw-r--r-- | server/controllers/api/remote/videos.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/controllers/api/remote/pods.ts b/server/controllers/api/remote/pods.ts index 85ef7bb42..7a9a0c4f0 100644 --- a/server/controllers/api/remote/pods.ts +++ b/server/controllers/api/remote/pods.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import express = require('express') | 1 | import express = require('express') |
2 | import { waterfall } from 'async/waterfall' | 2 | import * as waterfall from 'async/waterfall' |
3 | 3 | ||
4 | const db = require('../../../initializers/database') | 4 | import { database as db } from '../../../initializers/database' |
5 | import { checkSignature, signatureValidator } from '../../../middlewares' | 5 | import { checkSignature, signatureValidator } from '../../../middlewares' |
6 | 6 | ||
7 | const remotePodsRouter = express.Router() | 7 | const remotePodsRouter = express.Router() |
diff --git a/server/controllers/api/remote/videos.ts b/server/controllers/api/remote/videos.ts index df4ba8309..178a21e7c 100644 --- a/server/controllers/api/remote/videos.ts +++ b/server/controllers/api/remote/videos.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import express = require('express') | 1 | import express = require('express') |
2 | import { eachSeries, waterfall } from 'async' | 2 | import { eachSeries, waterfall } from 'async' |
3 | 3 | ||
4 | const db = require('../../../initializers/database') | 4 | import { database as db } from '../../../initializers/database' |
5 | import { | 5 | import { |
6 | REQUEST_ENDPOINT_ACTIONS, | 6 | REQUEST_ENDPOINT_ACTIONS, |
7 | REQUEST_ENDPOINTS, | 7 | REQUEST_ENDPOINTS, |