From 800a56238a65c66a9d932ec6c073fa34b89d59b4 Mon Sep 17 00:00:00 2001 From: "jason@dittowords.com" Date: Mon, 11 Mar 2024 10:16:22 -0700 Subject: [PATCH] Update Ditto API URL and breadcrumbs --- lib/init/token.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/init/token.ts b/lib/init/token.ts index 78ed397..ee906f2 100644 --- a/lib/init/token.ts +++ b/lib/init/token.ts @@ -98,13 +98,11 @@ async function checkToken(token: string): Promise { async function collectToken(message: string | null) { const blue = output.info; - const apiUrl = output.url("https://app.dittowords.com/account/user"); - const breadcrumbs = `${blue("User")}`; + const apiUrl = output.url("https://app.dittowords.com/account/devtools"); + const breadcrumbs = `${chalk.bold(blue("API Keys"))}`; const tokenDescription = message || - `To get started, you'll need your Ditto API key. You can find this at: ${apiUrl} > ${breadcrumbs} under "${chalk.bold( - "API Keys" - )}".`; + `To get started, you'll need your Ditto API key. You can find this at: ${apiUrl} under "${breadcrumbs}".`; console.log(tokenDescription); const response = await prompt<{ token: string }>({