git ssb

2+

dinoworm ๐Ÿ› / ssb-graphviz



Tree: 41ec31f643175bf360ff1416e6448bffcccb4212

Files: 41ec31f643175bf360ff1416e6448bffcccb4212 / profile.js

307 bytesRaw
1module.exports = profile
2
3module.exports = function (sbot, id, cb) {
4 pull(
5 sbot.(id, (err, profile) => {
6 if (err) return cb(err)
7 console.log('profile', profile)
8 }),
9 pull.reduce(latest, {})
10 )
11}
12
13function latest (sofar, next) {
14 console.log('sofar', sofar, next)
15 return sofar
16}
17

Built with git-ssb-web