Parse incoming data from meta into JSON format.
This commit is contained in:
parent
7b83dbecd3
commit
7a2321f444
@ -200,7 +200,7 @@ export class UserService {
|
||||
.pipe(first())
|
||||
.subscribe(async (res) => {
|
||||
const account: Syncable = Envelope.fromJSON(JSON.stringify(res)).unwrap();
|
||||
const accountInfo = account.m.data;
|
||||
const accountInfo = JSON.parse(account.m.data);
|
||||
await personValidation(accountInfo);
|
||||
this.tokenService.onload = async (status: boolean): Promise<void> => {
|
||||
accountInfo.balance = await this.tokenService.getTokenBalance(
|
||||
|
Loading…
Reference in New Issue
Block a user