diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-04 09:48:35 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-04 09:48:35 +0100 |
commit | 4b4660582b370589f942bf74e2e682e47a9dfa0b (patch) | |
tree | 6b2c13e951171f2593fe78fb3053f7d6c1634823 /server/lib/request-video-event-scheduler.js | |
parent | 72329aaa28bcbb678443900233cc47cff7ba1509 (diff) | |
download | PeerTube-4b4660582b370589f942bf74e2e682e47a9dfa0b.tar.gz PeerTube-4b4660582b370589f942bf74e2e682e47a9dfa0b.tar.zst PeerTube-4b4660582b370589f942bf74e2e682e47a9dfa0b.zip |
Server: fix requests endpoints
Diffstat (limited to 'server/lib/request-video-event-scheduler.js')
-rw-r--r-- | server/lib/request-video-event-scheduler.js | 2 |
1 files changed, 1 insertions, 1 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 | } |