git ssb

30+

cel / git-ssb-web



Commit 969af740b119ff772d5c5c33b8f9e30d069d2153

fix: plugin name

noffle committed on 5/20/2018, 6:18:04 PM
Parent: ae7c8f32a4d51050bd9b6b9d07764f2b81665223

Files changed

index.jschanged
lib/users.jschanged
index.jsView
@@ -593,11 +593,11 @@
593593 }
594594
595595 // use git index, if present
596596 var source
597- if (this.ssb.git) {
597 + if (this.ssb.gitindex) {
598598 source = pull(
599- feedId ? this.ssb.git.author(opts) : this.ssb.git.read(opts),
599 + feedId ? this.ssb.gitindex.author(opts) : this.ssb.gitindex.read(opts),
600600 pull.map(function (msg) { return msg.value }),
601601 )
602602 } else {
603603 source = feedId ? this.ssb.createUserStream(opts) : this.ssb.createFeedStream(opts)
lib/users.jsView
@@ -63,11 +63,11 @@
6363 var title = req._t('UsersRepos', {name: '%{name}'})
6464
6565 // use git index, if present
6666 var source
67- if (self.web.ssb.git) {
67 + if (self.web.ssb.gitindex) {
6868 source = pull(
69- self.web.ssb.git.author({
69 + self.web.ssb.gitindex.author({
7070 lt: '9999999999999',
7171 values: true,
7272 reverse: true,
7373 id: feedId

Built with git-ssb-web