Skip to content

Commit

Permalink
fix: fix api field
Browse files Browse the repository at this point in the history
  • Loading branch information
zgayjjf committed Mar 10, 2020
1 parent f2455bd commit 9adddc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/BrowserAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export class BrowserAPI extends BaseAPI {
/**
* invoker and open dapp in abcwallet client
*/
openDapp ({ url, dappId }) {
return invokeNative(`abcwallet://open-dapp?url=${encodeURIComponent(url)}&dapp_id=${dappId}`)
openDapp ({ url, dapp_id }) {
return invokeNative(`abcwallet://open-dapp?url=${encodeURIComponent(url)}&dapp_id=${dapp_id}`)
}
}

Expand Down

0 comments on commit 9adddc1

Please sign in to comment.