aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/friends.js6
-rw-r--r--server/lib/request/base-request-scheduler.js (renamed from server/lib/base-request-scheduler.js)8
-rw-r--r--server/lib/request/request-scheduler.js (renamed from server/lib/request-scheduler.js)6
-rw-r--r--server/lib/request/request-video-event-scheduler.js (renamed from server/lib/request-video-event-scheduler.js)4
-rw-r--r--server/lib/request/request-video-qadu-scheduler.js (renamed from server/lib/request-video-qadu-scheduler.js)6
5 files changed, 15 insertions, 15 deletions
diff --git a/server/lib/friends.js b/server/lib/friends.js
index 1c7567527..6dd32406c 100644
--- a/server/lib/friends.js
+++ b/server/lib/friends.js
@@ -13,9 +13,9 @@ const logger = require('../helpers/logger')
13const peertubeCrypto = require('../helpers/peertube-crypto') 13const peertubeCrypto = require('../helpers/peertube-crypto')
14const requests = require('../helpers/requests') 14const requests = require('../helpers/requests')
15const utils = require('../helpers/utils') 15const utils = require('../helpers/utils')
16const RequestScheduler = require('./request-scheduler') 16const RequestScheduler = require('./request/request-scheduler')
17const RequestVideoQaduScheduler = require('./request-video-qadu-scheduler') 17const RequestVideoQaduScheduler = require('./request/request-video-qadu-scheduler')
18const RequestVideoEventScheduler = require('./request-video-event-scheduler') 18const RequestVideoEventScheduler = require('./request/request-video-event-scheduler')
19 19
20const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS] 20const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS]
21 21
diff --git a/server/lib/base-request-scheduler.js b/server/lib/request/base-request-scheduler.js
index 7378971c8..782448340 100644
--- a/server/lib/base-request-scheduler.js
+++ b/server/lib/request/base-request-scheduler.js
@@ -2,10 +2,10 @@
2 2
3const eachLimit = require('async/eachLimit') 3const eachLimit = require('async/eachLimit')
4 4
5const constants = require('../initializers/constants') 5const constants = require('../../initializers/constants')
6const db = require('../initializers/database') 6const db = require('../../initializers/database')
7const logger = require('../helpers/logger') 7const logger = require('../../helpers/logger')
8const requests = require('../helpers/requests') 8const requests = require('../../helpers/requests')
9 9
10module.exports = class BaseRequestScheduler { 10module.exports = class BaseRequestScheduler {
11 constructor (options) { 11 constructor (options) {
diff --git a/server/lib/request-scheduler.js b/server/lib/request/request-scheduler.js
index f6020e746..555ec3e54 100644
--- a/server/lib/request-scheduler.js
+++ b/server/lib/request/request-scheduler.js
@@ -1,9 +1,9 @@
1'use strict' 1'use strict'
2 2
3const constants = require('../initializers/constants') 3const constants = require('../../initializers/constants')
4const BaseRequestScheduler = require('./base-request-scheduler') 4const BaseRequestScheduler = require('./base-request-scheduler')
5const db = require('../initializers/database') 5const db = require('../../initializers/database')
6const logger = require('../helpers/logger') 6const logger = require('../../helpers/logger')
7 7
8module.exports = class RequestScheduler extends BaseRequestScheduler { 8module.exports = class RequestScheduler extends BaseRequestScheduler {
9 constructor () { 9 constructor () {
diff --git a/server/lib/request-video-event-scheduler.js b/server/lib/request/request-video-event-scheduler.js
index c7631253a..e54d34f4a 100644
--- a/server/lib/request-video-event-scheduler.js
+++ b/server/lib/request/request-video-event-scheduler.js
@@ -1,8 +1,8 @@
1'use strict' 1'use strict'
2 2
3const BaseRequestScheduler = require('./base-request-scheduler') 3const BaseRequestScheduler = require('./base-request-scheduler')
4const constants = require('../initializers/constants') 4const constants = require('../../initializers/constants')
5const db = require('../initializers/database') 5const db = require('../../initializers/database')
6 6
7module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler { 7module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
8 constructor () { 8 constructor () {
diff --git a/server/lib/request-video-qadu-scheduler.js b/server/lib/request/request-video-qadu-scheduler.js
index a85d35160..17402b556 100644
--- a/server/lib/request-video-qadu-scheduler.js
+++ b/server/lib/request/request-video-qadu-scheduler.js
@@ -1,9 +1,9 @@
1'use strict' 1'use strict'
2 2
3const BaseRequestScheduler = require('./base-request-scheduler') 3const BaseRequestScheduler = require('./base-request-scheduler')
4const constants = require('../initializers/constants') 4const constants = require('../../initializers/constants')
5const db = require('../initializers/database') 5const db = require('../../initializers/database')
6const logger = require('../helpers/logger') 6const logger = require('../../helpers/logger')
7 7
8module.exports = class RequestVideoQaduScheduler extends BaseRequestScheduler { 8module.exports = class RequestVideoQaduScheduler extends BaseRequestScheduler {
9 constructor () { 9 constructor () {