git ssb

9+

cel / ssb-viewer



Commit 1eb1be440d662e83405d844c8ae88402c56c92a6

Fix includeRoot. Thanks @dominic

Anders Rune Jensen committed on 4/23/2018, 6:52:30 PM
Parent: c71fb2a0899fe94c63306d8822b797c6dd42ef68

Files changed

index.jschanged
index.jsView
@@ -332,8 +332,10 @@
332332 sbot.links({dest: id, values: true, rel: 'root' }),
333333 pull.unique('key'),
334334 pull.collect(function (err, links) {
335335 if (err) return respond(res, 500, err.stack || err)
336 + if(includeRoot)
337 + links.unshift(root)
336338 render(links)
337339 })
338340 )
339341 })

Built with git-ssb-web