]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/request-video-event-scheduler.js
Server: typo
[github/Chocobozzz/PeerTube.git] / server / lib / request-video-event-scheduler.js
index 5ea5631b02afa1b70dca4c541f8daeb090fffef1..c7631253ab0ca3dc1d3f919fea10cd19cc3df2db 100644 (file)
@@ -5,7 +5,6 @@ const constants = require('../initializers/constants')
 const db = require('../initializers/database')
 
 module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
-
   constructor () {
     super()
 
@@ -46,7 +45,7 @@ module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
         if (!requestsToMakeGrouped[toPodId]) {
           requestsToMakeGrouped[toPodId] = {
             toPod: eventToProcess.pod,
-            endpoint: constants.REQUEST_ENDPOINTS.EVENT,
+            endpoint: constants.REQUEST_VIDEO_EVENT_ENDPOINT,
             ids: [], // request ids, to delete them from the DB in the future
             datas: [] // requests data
           }