aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video.js b/server/models/video.js
index 742150d69..d0fd61eb4 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -414,7 +414,7 @@ function getDurationFromFile (videoPath, callback) {
414} 414}
415 415
416function list (callback) { 416function list (callback) {
417 return this.find().asCallback() 417 return this.findAll().asCallback(callback)
418} 418}
419 419
420function listForApi (start, count, sort, callback) { 420function listForApi (start, count, sort, callback) {