Merge pull request #276 from aiko-chan-ai/dev
fix(User): user.bio return object
This commit is contained in:
commit
6a750a4e34
@ -222,7 +222,7 @@ class User extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ('bio' in data.user_profile || 'bio' in data.user) {
|
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) {
|
if ('premium_type' in data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user