aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video.js')
-rw-r--r--server/models/video.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/video.js b/server/models/video.js
index 4b941a40c..1feefe24f 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -57,7 +57,7 @@ VideoSchema.statics = {
57 getDurationFromFile, 57 getDurationFromFile,
58 listForApi, 58 listForApi,
59 listByUrlAndMagnet, 59 listByUrlAndMagnet,
60 listByUrls, 60 listByUrl,
61 listOwned, 61 listOwned,
62 listOwnedByAuthor, 62 listOwnedByAuthor,
63 listRemotes, 63 listRemotes,
@@ -218,8 +218,8 @@ function listByUrlAndMagnet (fromUrl, magnetUri, callback) {
218 this.find({ podUrl: fromUrl, magnetUri: magnetUri }, callback) 218 this.find({ podUrl: fromUrl, magnetUri: magnetUri }, callback)
219} 219}
220 220
221function listByUrls (fromUrls, callback) { 221function listByUrl (fromUrl, callback) {
222 this.find({ podUrl: { $in: fromUrls } }, callback) 222 this.find({ podUrl: fromUrl }, callback)
223} 223}
224 224
225function listOwned (callback) { 225function listOwned (callback) {