diff options
Diffstat (limited to 'public/ng/js/gogs.js')
-rw-r--r-- | public/ng/js/gogs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js index 333263762f..3578cd7cb9 100644 --- a/public/ng/js/gogs.js +++ b/public/ng/js/gogs.js @@ -210,7 +210,7 @@ var Gogs = {}; if (json.ok && json.data.length) { var html = ''; $.each(json.data, function (i, item) { - html += '<li><a><img src="' + item.avatar + '">' + item.username + '</a></li>'; + html += '<li><a><img src="' + item.avatar_url + '">' + item.username + '</a></li>'; }); $target.html(html); $target.toggleShow(); @@ -230,7 +230,7 @@ var Gogs = {}; if (json.ok && json.data.length) { var html = ''; $.each(json.data, function (i, item) { - html += '<li><a><span class="octicon octicon-repo"></span> ' + item.repolink + '</a></li>'; + html += '<li><a><span class="octicon octicon-repo"></span> ' + item.full_name + '</a></li>'; }); $target.html(html); $target.toggleShow(); |