git ssb

0+

Dominic / weather



Commit bb0b78e35453aa2f936f01fe4b2cf30c15f55b53

fix reduce

Dominic Tarr committed on 9/24/2018, 8:28:00 AM
Parent: 99f5ab74ade99cac40ddc23f4f15f26d7c99fd4b

Files changed

db.jschanged
db.jsView
@@ -114,9 +114,9 @@
114114 cb(null, summary(value))
115115 })
116116 }),
117117 pull.filter(),
118- pull.reduce(reduce, function (err, data) {
118 + pull.reduce(reduce, {}, function (err, data) {
119119 if(!err) summary_data = data
120120 while(waiting.length)
121121 waiting.shift()(err, data)
122122 })

Built with git-ssb-web