fixed oauth2用户接口用户信息过滤表情
This commit is contained in:
parent
e8112212bb
commit
23c0bcbf36
|
@ -1,4 +1,4 @@
|
|||
json.username @user.full_name
|
||||
json.username @user.full_name.to_s.each_char.select { |c| c.bytes.first < 240 }.join('')
|
||||
json.login @user.login
|
||||
json.user_id @user.id
|
||||
json.image_url url_to_avatar(@user)
|
||||
|
|
Loading…
Reference in New Issue