Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/update-profile-fork #1383

Merged
merged 10 commits into from
Nov 23, 2022
Prev Previous commit
Next Next commit
fix: add missing type
  • Loading branch information
friedger committed Oct 19, 2022
commit ae7d8ed8103e8efa42e08c338acfd85e2f37cb0b
2 changes: 1 addition & 1 deletion packages/profile/src/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class Person extends Profile {
}

static fromToken(token: string, publicKeyOrAddress: string | null = null): Person {
const profile = extractProfile(token, publicKeyOrAddress);
const profile = extractProfile(token, publicKeyOrAddress) as PublicPersonProfile;
return new Person(profile);
}

Expand Down