aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request-video-qadu.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-02-26 18:57:33 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-02-26 20:01:26 +0100
commite4c87ec26962e359d1c70b03ed188a3f19d6a25b (patch)
tree26fe20e6f600bc6f6f569dde2171b0a2346b135c /server/models/request-video-qadu.js
parent9e167724f7e933f41d9ea2e1c31772bf4c560a28 (diff)
downloadPeerTube-e4c87ec26962e359d1c70b03ed188a3f19d6a25b.tar.gz
PeerTube-e4c87ec26962e359d1c70b03ed188a3f19d6a25b.tar.zst
PeerTube-e4c87ec26962e359d1c70b03ed188a3f19d6a25b.zip
Server: implement video views
Diffstat (limited to 'server/models/request-video-qadu.js')
-rw-r--r--server/models/request-video-qadu.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/models/request-video-qadu.js b/server/models/request-video-qadu.js
index 7010fc992..5d88738aa 100644
--- a/server/models/request-video-qadu.js
+++ b/server/models/request-video-qadu.js
@@ -71,10 +71,7 @@ function associate (models) {
71} 71}
72 72
73function countTotalRequests (callback) { 73function countTotalRequests (callback) {
74 const query = { 74 const query = {}
75 include: [ this.sequelize.models.Pod ]
76 }
77
78 return this.count(query).asCallback(callback) 75 return this.count(query).asCallback(callback)
79} 76}
80 77