diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
commit | c4403b29ad4db097af528a7f04eea07e0ed320d0 (patch) | |
tree | c7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/models/pods.js | |
parent | 9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff) | |
download | PeerTube-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.js | 18 |
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) | |||
24 | PodSchema.path('score').validate(function (value) { return !isNaN(value) }) | 24 | PodSchema.path('score').validate(function (value) { return !isNaN(value) }) |
25 | 25 | ||
26 | PodSchema.methods = { | 26 | PodSchema.methods = { |
27 | toFormatedJSON: toFormatedJSON | 27 | toFormatedJSON |
28 | } | 28 | } |
29 | 29 | ||
30 | PodSchema.statics = { | 30 | PodSchema.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 | ||
41 | PodSchema.pre('save', function (next) { | 41 | PodSchema.pre('save', function (next) { |