Commit a41af216c01e66d28a8128ebe76646738b0bd3a0
correct err, data drain for profile pull-stream
mix irving committed on 1/25/2017, 8:07:55 AMParent: 7b6ba5c6fbc83bd49ba2be40442b4d40d513a2bf
Files changed
modules_basic/avatar/profile.js | changed |
modules_basic/avatar/profile.js | |||
---|---|---|---|
@@ -46,17 +46,17 @@ | |||
46 | 46 … | api.follows(id), | |
47 | 47 … | unique(), | |
48 | 48 … | drain( | |
49 | 49 … | peer => rawFollows.push(peer), | |
50 | - data => console.log('follows drain done', data) | ||
50 … | + (err, data) => console.log('follows drain done', err, data) | ||
51 | 51 … | ) | |
52 | 52 … | ) | |
53 | 53 … | pull( | |
54 | 54 … | api.followers(id), | |
55 | 55 … | unique(), | |
56 | 56 … | drain( | |
57 | 57 … | peer => rawFollowers.push(peer), | |
58 | - data => console.log('followers drain done', data) | ||
58 … | + (err, data) => console.log('followers drain done', err, data) | ||
59 | 59 … | ) | |
60 | 60 … | ) | |
61 | 61 … | ||
62 | 62 … | return h('Profile', [ | |
Built with git-ssb-web