Skip to content

Commit

Permalink
fix: use auth instead of question while merging the router (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxeln authored Aug 21, 2022
1 parent fabcb4d commit 5ba03fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cyan-bags-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-t3-app": patch
---

use auth instead of question while merging the router
2 changes: 1 addition & 1 deletion cli/template/addons/trpc/auth-index-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

1 comment on commit 5ba03fd

@vercel
Copy link

@vercel vercel bot commented on 5ba03fd Aug 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

create-t3-app – ./

create-t3-app-t3-oss.vercel.app
create-t3-app-nu.vercel.app
create-t3-app-git-main-t3-oss.vercel.app

Please sign in to comment.