Skip to content

Commit

Permalink
Fix for #361, renamed username to login
Browse files Browse the repository at this point in the history
  • Loading branch information
Bwko authored and bkcsoft committed Dec 7, 2016
1 parent 04b9a7e commit 39d0db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ function searchUsers() {
if (response.ok && response.data.length) {
var html = '';
$.each(response.data, function (i, item) {
html += '<div class="item"><img class="ui avatar image" src="' + item.avatar_url + '"><span class="username">' + item.username + '</span>';
html += '<div class="item"><img class="ui avatar image" src="' + item.avatar_url + '"><span class="username">' + item.login + '</span>';
if (notEmpty(item.full_name)) {
html += ' (' + item.full_name + ')';
}
Expand Down

0 comments on commit 39d0db5

Please sign in to comment.