aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/pods.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-11 21:19:34 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 14:23:11 +0200
commitbc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (patch)
treea1fe1ad88afd29ee4d7cb05c480649d5a9c6f9a0 /server/models/pods.js
parent881a5e68b64e4acd43408852bbdc914643d8fac6 (diff)
downloadPeerTube-bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01.tar.gz
PeerTube-bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01.tar.zst
PeerTube-bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01.zip
Update to standard 7. Goodbye snake_case, I used to love you
Diffstat (limited to 'server/models/pods.js')
-rw-r--r--server/models/pods.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/pods.js b/server/models/pods.js
index 4e21001f5..04cc2d6fc 100644
--- a/server/models/pods.js
+++ b/server/models/pods.js
@@ -58,13 +58,13 @@ function incrementScores (ids, value, callback) {
58} 58}
59 59
60function list (callback) { 60function list (callback) {
61 PodsDB.find(function (err, pods_list) { 61 PodsDB.find(function (err, podsList) {
62 if (err) { 62 if (err) {
63 logger.error('Cannot get the list of the pods.') 63 logger.error('Cannot get the list of the pods.')
64 return callback(err) 64 return callback(err)
65 } 65 }
66 66
67 return callback(null, pods_list) 67 return callback(null, podsList)
68 }) 68 })
69} 69}
70 70