diff --git a/.changeset/cyan-bags-sit.md b/.changeset/cyan-bags-sit.md new file mode 100644 index 0000000000..869ea53174 --- /dev/null +++ b/.changeset/cyan-bags-sit.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +use auth instead of question while merging the router diff --git a/cli/template/addons/trpc/auth-index-router.ts b/cli/template/addons/trpc/auth-index-router.ts index 9714320fb1..4305905218 100644 --- a/cli/template/addons/trpc/auth-index-router.ts +++ b/cli/template/addons/trpc/auth-index-router.ts @@ -8,7 +8,7 @@ import { protectedExampleRouter } from "./protected-example-router"; export const appRouter = createRouter() .transformer(superjson) .merge("example.", exampleRouter) - .merge("question.", protectedExampleRouter); + .merge("auth.", protectedExampleRouter); // export type definition of API export type AppRouter = typeof appRouter;