Skip to content

Commit 39d0db5

Browse files
Bwkobkcsoft
authored andcommitted
Fix for #361, renamed username to login
1 parent 04b9a7e commit 39d0db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: public/js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ function searchUsers() {
10891089
if (response.ok && response.data.length) {
10901090
var html = '';
10911091
$.each(response.data, function (i, item) {
1092-
html += '<div class="item"><img class="ui avatar image" src="' + item.avatar_url + '"><span class="username">' + item.username + '</span>';
1092+
html += '<div class="item"><img class="ui avatar image" src="' + item.avatar_url + '"><span class="username">' + item.login + '</span>';
10931093
if (notEmpty(item.full_name)) {
10941094
html += ' (' + item.full_name + ')';
10951095
}

0 commit comments

Comments
 (0)