Skip to content

Commit

Permalink
fix: all existed (#10615)
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Aug 25, 2023
1 parent 09ad919 commit 59e057b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-providers/src/NextID/proof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export class NextIDProofAPI implements NextIDBaseAPI.Proof {
): Promise<NextIDPersonaBindings | null> {
if (!platform && !identity) return null

const result = await this.queryAllExistedBindingsByPlatform(platform, identity)
const result = await this.queryAllExistedBindingsByPlatform(platform, identity, true)
if (publicKey) return result.find((x) => x.persona === publicKey) ?? null
return first(result) ?? null
}
Expand Down

0 comments on commit 59e057b

Please sign in to comment.