aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/pods.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
commitc4403b29ad4db097af528a7f04eea07e0ed320d0 (patch)
treec7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/models/pods.js
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip
Server: remove useless hash affectations
Diffstat (limited to 'server/models/pods.js')
-rw-r--r--server/models/pods.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/server/models/pods.js b/server/models/pods.js
index 59de2d60c..4020a9603 100644
--- a/server/models/pods.js
+++ b/server/models/pods.js
@@ -24,18 +24,18 @@ PodSchema.path('publicKey').required(true)
24PodSchema.path('score').validate(function (value) { return !isNaN(value) }) 24PodSchema.path('score').validate(function (value) { return !isNaN(value) })
25 25
26PodSchema.methods = { 26PodSchema.methods = {
27 toFormatedJSON: toFormatedJSON 27 toFormatedJSON
28} 28}
29 29
30PodSchema.statics = { 30PodSchema.statics = {
31 countAll: countAll, 31 countAll,
32 incrementScores: incrementScores, 32 incrementScores,
33 list: list, 33 list,
34 listAllIds: listAllIds, 34 listAllIds,
35 listBadPods: listBadPods, 35 listBadPods,
36 load: load, 36 load,
37 loadByUrl: loadByUrl, 37 loadByUrl,
38 removeAll: removeAll 38 removeAll
39} 39}
40 40
41PodSchema.pre('save', function (next) { 41PodSchema.pre('save', function (next) {