Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
trusch committed Mar 23, 2023
1 parent 890c5bd commit 89dba2e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export async function queryAccountWeb3Name(
typesBundle
})
// Call to the KILT runtime API `did.queryByAccount`
const didDetails = await api.call.did.queryByAccount(lookupAccountAddress)

const didDetails = await api.call.did.queryByAccount({AccountId32: lookupAccountAddress})
if (didDetails.isNone) {
throw new Error(`No DID for the KILT account "${lookupAccountAddress}".`)
}
Expand Down

0 comments on commit 89dba2e

Please sign in to comment.