diff --git a/src/commands/status/index.js b/src/commands/status/index.js index 36a033bad06..47a0bd434d1 100644 --- a/src/commands/status/index.js +++ b/src/commands/status/index.js @@ -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.`)