Skip to content

Commit

Permalink
fix(agoric-cli): conform to accessToken API change
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Sep 21, 2023
1 parent 82c55d7 commit 4376b8e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/agoric-cli/src/open.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ export default async function walletMain(progname, rawArgs, powers, opts) {
1000,
);

const walletAccessToken = await getAccessToken(opts.hostport, {
console,
fs,
}).catch(e => console.error(`Trying to fetch access token:`, e));
const walletAccessToken = await getAccessToken(opts.hostport).catch(e =>
console.error(`Trying to fetch access token:`, e),
);

clearInterval(progressTimer);
process.stderr.write('\n');
Expand Down

0 comments on commit 4376b8e

Please sign in to comment.