aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-04 09:48:35 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-04 09:48:35 +0100
commit4b4660582b370589f942bf74e2e682e47a9dfa0b (patch)
tree6b2c13e951171f2593fe78fb3053f7d6c1634823 /server/lib
parent72329aaa28bcbb678443900233cc47cff7ba1509 (diff)
downloadPeerTube-4b4660582b370589f942bf74e2e682e47a9dfa0b.tar.gz
PeerTube-4b4660582b370589f942bf74e2e682e47a9dfa0b.tar.zst
PeerTube-4b4660582b370589f942bf74e2e682e47a9dfa0b.zip
Server: fix requests endpoints
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/request-video-event-scheduler.js2
-rw-r--r--server/lib/request-video-qadu-scheduler.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/request-video-event-scheduler.js b/server/lib/request-video-event-scheduler.js
index f178df49e..c7631253a 100644
--- a/server/lib/request-video-event-scheduler.js
+++ b/server/lib/request-video-event-scheduler.js
@@ -45,7 +45,7 @@ module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
45 if (!requestsToMakeGrouped[toPodId]) { 45 if (!requestsToMakeGrouped[toPodId]) {
46 requestsToMakeGrouped[toPodId] = { 46 requestsToMakeGrouped[toPodId] = {
47 toPod: eventToProcess.pod, 47 toPod: eventToProcess.pod,
48 endpoint: constants.REQUEST_ENDPOINTS.EVENT, 48 endpoint: constants.REQUEST_VIDEO_EVENT_ENDPOINT,
49 ids: [], // request ids, to delete them from the DB in the future 49 ids: [], // request ids, to delete them from the DB in the future
50 datas: [] // requests data 50 datas: [] // requests data
51 } 51 }
diff --git a/server/lib/request-video-qadu-scheduler.js b/server/lib/request-video-qadu-scheduler.js
index bfccc5234..ac50cfc11 100644
--- a/server/lib/request-video-qadu-scheduler.js
+++ b/server/lib/request-video-qadu-scheduler.js
@@ -37,7 +37,7 @@ module.exports = class RequestVideoQaduScheduler extends BaseRequestScheduler {
37 if (!requestsToMakeGrouped[hashKey]) { 37 if (!requestsToMakeGrouped[hashKey]) {
38 requestsToMakeGrouped[hashKey] = { 38 requestsToMakeGrouped[hashKey] = {
39 toPod: pod, 39 toPod: pod,
40 endpoint: constants.REQUEST_ENDPOINTS.QADU, 40 endpoint: constants.REQUEST_VIDEO_QADU_ENDPOINT,
41 ids: [], // request ids, to delete them from the DB in the future 41 ids: [], // request ids, to delete them from the DB in the future
42 datas: [], // requests data 42 datas: [], // requests data
43 videos: {} 43 videos: {}