Commit 969af740b119ff772d5c5c33b8f9e30d069d2153
fix: plugin name
noffle committed on 5/20/2018, 6:18:04 PMParent: ae7c8f32a4d51050bd9b6b9d07764f2b81665223
Files changed
index.js | changed |
lib/users.js | changed |
index.js | ||
---|---|---|
@@ -593,11 +593,11 @@ | ||
593 | 593 … | } |
594 | 594 … | |
595 | 595 … | // use git index, if present |
596 | 596 … | var source |
597 | - if (this.ssb.git) { | |
597 … | + if (this.ssb.gitindex) { | |
598 | 598 … | 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), | |
600 | 600 … | pull.map(function (msg) { return msg.value }), |
601 | 601 … | ) |
602 | 602 … | } else { |
603 | 603 … | source = feedId ? this.ssb.createUserStream(opts) : this.ssb.createFeedStream(opts) |
lib/users.js | |||
---|---|---|---|
@@ -63,11 +63,11 @@ | |||
63 | 63 … | var title = req._t('UsersRepos', {name: '%{name}'}) | |
64 | 64 … | ||
65 | 65 … | // use git index, if present | |
66 | 66 … | var source | |
67 | - if (self.web.ssb.git) { | ||
67 … | + if (self.web.ssb.gitindex) { | ||
68 | 68 … | source = pull( | |
69 | - self.web.ssb.git.author({ | ||
69 … | + self.web.ssb.gitindex.author({ | ||
70 | 70 … | lt: '9999999999999', | |
71 | 71 … | values: true, | |
72 | 72 … | reverse: true, | |
73 | 73 … | id: feedId |
Built with git-ssb-web