fix: handle aborted request in docker and remove redundant call (#1161)

This commit is contained in:
Ihor Karpiuk
2023-07-07 18:15:06 +03:00
committed by GitHub
parent dcf4c0fd4f
commit ac9a494c92
3 changed files with 21 additions and 14 deletions

View File

@@ -496,7 +496,7 @@ export async function sendTelemetry(
} = argv;
const event_time = new Date().toISOString();
const redoclyClient = new RedoclyClient();
const logged_in = await redoclyClient.isAuthorizedWithRedoclyByRegion();
const logged_in = redoclyClient.hasTokens();
const data: Analytics = {
event: 'cli_command',
event_time,