Skip to content

Commit 2b5941f

Browse files
authored
Replace CLI login article link (#7355)
1 parent 85b21ec commit 2b5941f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/dashboard/redirects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async function redirects() {
213213
{
214214
source: "/cli/login",
215215
destination:
216-
"https://support.thirdweb.com/troubleshooting-errors/7Y1BqKNvtLdBv5fZkRZZB3/issue-linking-device-on-the-authorization-page-via-thirdweb-cli/cn9LRA3ax7XCP6uxwRYdvx",
216+
"https://portal.thirdweb.com/knowledge-base/onchain-common-errors/thirdweb-cli/device-link-error",
217217
permanent: false,
218218
},
219219

packages/thirdweb/src/cli/bin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function main() {
4747
case "login": {
4848
// Not implemented yet
4949
console.info(
50-
"Please instead pass a secret key to the command directly, learn more: https://support.thirdweb.com/troubleshooting-errors/7Y1BqKNvtLdBv5fZkRZZB3/issue-linking-device-on-the-authorization-page-via-thirdweb-cli/cn9LRA3ax7XCP6uxwRYdvx",
50+
"Please instead pass a secret key to the command directly, learn more: https://portal.thirdweb.com/knowledge-base/onchain-common-errors/thirdweb-cli/device-link-error",
5151
);
5252
process.exit(1);
5353
break;
@@ -58,7 +58,7 @@ async function main() {
5858
const commands = ["deploy", "publish", "generate", "upload"];
5959
if (commands.includes(command) && !rest.includes("-k")) {
6060
console.info(
61-
"Please include the -k flag with your secret key, learn more: https://support.thirdweb.com/troubleshooting-errors/7Y1BqKNvtLdBv5fZkRZZB3/issue-linking-device-on-the-authorization-page-via-thirdweb-cli/cn9LRA3ax7XCP6uxwRYdvx",
61+
"Please include the -k flag with your secret key, learn more: https://portal.thirdweb.com/knowledge-base/onchain-common-errors/thirdweb-cli/device-link-error",
6262
);
6363
process.exit(1);
6464
return;

0 commit comments

Comments
 (0)