From 917b1cfa4dc3622c01cc7160ba502c36e1ce1da3 Mon Sep 17 00:00:00 2001 From: Erez Rokah Date: Tue, 27 Jul 2021 19:19:20 +0200 Subject: [PATCH] fix(command-status): invoke getToken() (#3022) --- src/commands/status/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.`)