Skip to content

Commit

Permalink
fix: logic for account api route
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalbanese committed Feb 26, 2024
1 parent 08ac2ef commit 932ab1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/add/auth/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 932ab1d

Please sign in to comment.