diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video.js | 2 |
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 | ||
416 | function list (callback) { | 416 | function list (callback) { |
417 | return this.find().asCallback() | 417 | return this.findAll().asCallback(callback) |
418 | } | 418 | } |
419 | 419 | ||
420 | function listForApi (start, count, sort, callback) { | 420 | function listForApi (start, count, sort, callback) { |