fix(User): user.bio return object
This commit is contained in:
parent
ac8218b421
commit
2da3c404d2
@ -222,7 +222,7 @@ class User extends Base {
|
||||
}
|
||||
|
||||
if ('bio' in data.user_profile || 'bio' in data.user) {
|
||||
this.bio = data.user_profile || data.user.bio;
|
||||
this.bio = data.user_profile.bio || data.user.bio;
|
||||
}
|
||||
|
||||
if ('premium_type' in data) {
|
||||
|
Loading…
Reference in New Issue
Block a user