From 932ab1d3161bbb71dce2942e1c350651c034f114 Mon Sep 17 00:00:00 2001 From: Nico Albanese Date: Mon, 26 Feb 2024 15:50:04 +0000 Subject: [PATCH] fix: logic for account api route --- src/commands/add/auth/shared/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/add/auth/shared/index.ts b/src/commands/add/auth/shared/index.ts index 24d7fcdc..f894d181 100644 --- a/src/commands/add/auth/shared/index.ts +++ b/src/commands/add/auth/shared/index.ts @@ -27,7 +27,7 @@ export const createAccountSettingsPage = async () => { const { shared } = getFilePaths(); const withShadCn = componentLib === "shadcn-ui" ? true : false; // create account api - clerk has managed component so no need - if (auth !== "clerk") { + if (auth !== "clerk" && auth !== "lucia") { createFile( formatFilePath(shared.auth.accountApiRoute, { prefix: "rootPath",