Merge pull request #471 from pangeachat/access-token-fix
added fix for pangea profile toJson method
This commit is contained in:
commit
13f980db26
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ class PangeaProfileResponse {
|
|||
|
||||
factory PangeaProfileResponse.fromJson(Map<String, dynamic> json) {
|
||||
return PangeaProfileResponse(
|
||||
profile: PangeaProfile.fromJson(json),
|
||||
profile: PangeaProfile.fromJson(json[ModelKey.userProfile]),
|
||||
access: json[ModelKey.userAccess],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue