Skip to content

Commit

Permalink
Re-implement callback
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed May 10, 2022
1 parent d5958cb commit 8e08fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion community-services/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Meteor.linkWithWeb3 = function (options, callback) {
// Since the flow for Web3 is different we are using a custom flow here.
const credentialRequestCompleteCallback = (error, address) => {
if (error.error === 403) {
Meteor.call('bozhao:linkAccountsWeb3', address)
Meteor.call('bozhao:linkAccountsWeb3', address, callback)
} else {
throw error
}
Expand Down

0 comments on commit 8e08fee

Please sign in to comment.