git ssb

16+

Dominic / patchbay



Commit a41af216c01e66d28a8128ebe76646738b0bd3a0

correct err, data drain for profile pull-stream

mix irving committed on 1/25/2017, 8:07:55 AM
Parent: 7b6ba5c6fbc83bd49ba2be40442b4d40d513a2bf

Files changed

modules_basic/avatar/profile.jschanged
modules_basic/avatar/profile.jsView
@@ -46,17 +46,17 @@
4646 api.follows(id),
4747 unique(),
4848 drain(
4949 peer => rawFollows.push(peer),
50- data => console.log('follows drain done', data)
50 + (err, data) => console.log('follows drain done', err, data)
5151 )
5252 )
5353 pull(
5454 api.followers(id),
5555 unique(),
5656 drain(
5757 peer => rawFollowers.push(peer),
58- data => console.log('followers drain done', data)
58 + (err, data) => console.log('followers drain done', err, data)
5959 )
6060 )
6161
6262 return h('Profile', [

Built with git-ssb-web