git ssb

30+

cel / git-ssb-web



Commit f4ea9d6b17feb7b1f62564befcdbbd6509ac2e26

Fix error

Fix %cWa7cA0dmsGILKjUZjUlz7npQYnCpGx7zNITounX+HE=.sha256
cel committed on 2/12/2017, 3:25:12 AM
Parent: 07781abd21a6a8dc337e5190ae6cd64b0d90baf1

Files changed

lib/users.jschanged
lib/users.jsView
@@ -121,13 +121,13 @@
121121 paramap(function (link, cb) {
122122 if (!link.dest) return cb()
123123 self.web.getMsg(link.dest, function (err, destMsg) {
124124 if (err) return cb(err)
125- if (destMsg.content.type != 'git-repo') return cb()
125 + if (destMsg.value.content.type != 'git-repo') return cb()
126126 var vote = link.value.content && link.value.content.vote
127127 if (!(vote && vote.value > 0)) return cb()
128128 var repoId = link.dest
129- var repoAuthor = destMsg.author
129 + var repoAuthor = destMsg.value.author
130130 var done = multicb({ pluck: 1, spread: true })
131131 self.web.getRepoName(repoAuthor, repoId, done())
132132 self.web.about.getName(repoAuthor, done())
133133 done(function (err, repoName, authorName) {

Built with git-ssb-web