fix(User): user.bio return object

This commit is contained in:
March 7th 2022-08-24 12:08:33 +07:00
parent ac8218b421
commit 2da3c404d2

View File

@ -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) {