]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/pods.js
Add tag search support to server
[github/Chocobozzz/PeerTube.git] / server / models / pods.js
index 4e21001f5cde4710e6641e4329b1737aab797eb8..04cc2d6fce266ae145a162341f5eeebfc6de2082 100644 (file)
@@ -58,13 +58,13 @@ function incrementScores (ids, value, callback) {
 }
 
 function list (callback) {
-  PodsDB.find(function (err, pods_list) {
+  PodsDB.find(function (err, podsList) {
     if (err) {
       logger.error('Cannot get the list of the pods.')
       return callback(err)
     }
 
-    return callback(null, pods_list)
+    return callback(null, podsList)
   })
 }