]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/request-video-qadu.js
Server: implement video views
[github/Chocobozzz/PeerTube.git] / server / models / request-video-qadu.js
index 7010fc99219b2f91a2d853f68b0643bf449b7a45..5d88738aa641ced8235cf3be9a16f362617d3fca 100644 (file)
@@ -71,10 +71,7 @@ function associate (models) {
 }
 
 function countTotalRequests (callback) {
-  const query = {
-    include: [ this.sequelize.models.Pod ]
-  }
-
+  const query = {}
   return this.count(query).asCallback(callback)
 }