mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fixed oauth2用户接口用户信息过滤表情
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user