aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/pods.js
diff options
context:
space:
mode:
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) {