diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-01-30 17:05:22 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-01-30 17:05:22 +0100 |
commit | cda021079ff455cc0fd0eb95a5395fa808ab63d1 (patch) | |
tree | 056716de7460462b74b861051a5e9da6e2633fce /middlewares | |
parent | 86435b9baedfe300a28ea4545511c1b50d4119f6 (diff) | |
download | PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.tar.gz PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.tar.zst PeerTube-cda021079ff455cc0fd0eb95a5395fa808ab63d1.zip |
New directory organization
Diffstat (limited to 'middlewares')
-rw-r--r-- | middlewares/misc.js | 6 | ||||
-rw-r--r-- | middlewares/reqValidators/pods.js | 2 | ||||
-rw-r--r-- | middlewares/reqValidators/remote.js | 2 | ||||
-rw-r--r-- | middlewares/reqValidators/utils.js | 2 | ||||
-rw-r--r-- | middlewares/reqValidators/videos.js | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/middlewares/misc.js b/middlewares/misc.js index c10b0792a..f814acd9f 100644 --- a/middlewares/misc.js +++ b/middlewares/misc.js | |||
@@ -4,9 +4,9 @@ | |||
4 | var ursa = require('ursa') | 4 | var ursa = require('ursa') |
5 | var fs = require('fs') | 5 | var fs = require('fs') |
6 | 6 | ||
7 | var logger = require('../src/logger') | 7 | var logger = require('../helpers/logger') |
8 | var utils = require('../src/utils') | 8 | var utils = require('../helpers/utils') |
9 | var PodsDB = require('../src/database').PodsDB | 9 | var PodsDB = require('../initializers/database').PodsDB |
10 | 10 | ||
11 | var misc = {} | 11 | var misc = {} |
12 | 12 | ||
diff --git a/middlewares/reqValidators/pods.js b/middlewares/reqValidators/pods.js index 31eaf8449..0d023842d 100644 --- a/middlewares/reqValidators/pods.js +++ b/middlewares/reqValidators/pods.js | |||
@@ -2,7 +2,7 @@ | |||
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var checkErrors = require('./utils').checkErrors | 4 | var checkErrors = require('./utils').checkErrors |
5 | var logger = require('../../src/logger') | 5 | var logger = require('../../helpers/logger') |
6 | 6 | ||
7 | var pods = {} | 7 | var pods = {} |
8 | 8 | ||
diff --git a/middlewares/reqValidators/remote.js b/middlewares/reqValidators/remote.js index a9d2cdf20..4b161e292 100644 --- a/middlewares/reqValidators/remote.js +++ b/middlewares/reqValidators/remote.js | |||
@@ -2,7 +2,7 @@ | |||
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var checkErrors = require('./utils').checkErrors | 4 | var checkErrors = require('./utils').checkErrors |
5 | var logger = require('../../src/logger') | 5 | var logger = require('../../helpers/logger') |
6 | 6 | ||
7 | var remote = {} | 7 | var remote = {} |
8 | 8 | ||
diff --git a/middlewares/reqValidators/utils.js b/middlewares/reqValidators/utils.js index 91ead27a5..5bc9f4f0b 100644 --- a/middlewares/reqValidators/utils.js +++ b/middlewares/reqValidators/utils.js | |||
@@ -2,7 +2,7 @@ | |||
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var util = require('util') | 4 | var util = require('util') |
5 | var logger = require('../../src/logger') | 5 | var logger = require('../../helpers/logger') |
6 | 6 | ||
7 | var utils = {} | 7 | var utils = {} |
8 | 8 | ||
diff --git a/middlewares/reqValidators/videos.js b/middlewares/reqValidators/videos.js index 8c4e23b6b..a34445f7a 100644 --- a/middlewares/reqValidators/videos.js +++ b/middlewares/reqValidators/videos.js | |||
@@ -2,8 +2,8 @@ | |||
2 | 'use strict' | 2 | 'use strict' |
3 | 3 | ||
4 | var checkErrors = require('./utils').checkErrors | 4 | var checkErrors = require('./utils').checkErrors |
5 | var VideosDB = require('../../src/database').VideosDB | 5 | var VideosDB = require('../../initializers/database').VideosDB |
6 | var logger = require('../../src/logger') | 6 | var logger = require('../../helpers/logger') |
7 | 7 | ||
8 | var videos = {} | 8 | var videos = {} |
9 | 9 | ||