Skip to content

Commit

Permalink
fix(command-status): invoke getToken() (#3022)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Jul 27, 2021
1 parent 4438598 commit 917b1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/status/index.js
Expand Up @@ -12,7 +12,7 @@ class StatusCommand extends Command {
const { flags } = this.parse(StatusCommand)

const current = globalConfig.get('userId')
const [accessToken] = await getToken
const [accessToken] = await getToken()

if (!accessToken) {
log(`Not logged in. Please log in to see site status.`)
Expand Down

1 comment on commit 917b1cf

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 331 MB

Please sign in to comment.