summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/files/designs/users
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2015-11-18 12:19:45 +0100
committerAzul <azul@riseup.net>2015-11-18 12:19:45 +0100
commita63102f6defab1266b05b3b24f6264a767e0924e (patch)
tree6615900c50e7714ae07f1f7371854ba34f51d21a /puppet/modules/site_couchdb/files/designs/users
parent41a8b76828d4dfa6345a6a04f9f68621fb46fcd7 (diff)
update design docs for couch from webapp
Diffstat (limited to 'puppet/modules/site_couchdb/files/designs/users')
-rw-r--r--puppet/modules/site_couchdb/files/designs/users/User.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_couchdb/files/designs/users/User.json b/puppet/modules/site_couchdb/files/designs/users/User.json
index 4089ad97..8a82cf4a 100644
--- a/puppet/modules/site_couchdb/files/designs/users/User.json
+++ b/puppet/modules/site_couchdb/files/designs/users/User.json
@@ -11,12 +11,12 @@
},
"by_created_at_and_one_month_warning_not_sent": {
"map": "function (doc) {\n if ((doc['type'] == 'User') && (doc['created_at'] != null) && (doc['one_month_warning_sent'] == null)) {\n emit(doc['created_at'], 1);\n } \n}\n",
- "reduce": "function(key, values, rereduce) { return sum(values); }"
+ "reduce": " function(key, values, rereduce) {\n return sum(values);\n }\n"
},
"by_created_at": {
"map": " function(doc) {\n if ((doc['type'] == 'User') && (doc['created_at'] != null)) {\n emit(doc['created_at'], 1);\n }\n }\n",
"reduce": "_sum"
}
},
- "couchrest-hash": "61840ab3ec0f94ef8bbd6dd208db3b70"
+ "couchrest-hash": "d854607d299887a347e554176cb79e20"
} \ No newline at end of file