ADD location column for user hovercard api

This commit is contained in:
jasder 2021-04-22 18:10:20 +08:00
parent ddacf2a733
commit 37e1704897
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
json.id @user.id
json.login @user.login
json.name @user.full_name
json.location @user.location
json.image_url url_to_avatar(@user)
json.url "#{request.base_url }/users/#{@user.login}"
json.followers_count @user.followers_count