Skip to content

Commit

Permalink
Added community upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
builder-247 committed Jan 17, 2021
1 parent 806d115 commit 826efe1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/profile/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Profile {
this.id = profile.profile_id;
this.members = {};
const banking = profile.banking || {};
this.community_upgrades = profile.community_upgrades || {};
await Promise.all(Object.keys(profile.members)
.map(async (key) => {
this.members[key] = await new Player(key, profile.members[key]);
Expand Down

0 comments on commit 826efe1

Please sign in to comment.