Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align all templates to use publicProcedure for
getLatest
method
Fixes t3-oss#1961 Fix the issue with errors on a fresh T3 app install by changing `getLatest` to use `publicProcedure` instead of `protectedProcedure`. * **cli/template/extras/src/server/api/routers/post/with-auth.ts** - Change `getLatest` to use `publicProcedure` instead of `protectedProcedure`. * **cli/template/extras/src/server/api/routers/post/with-auth-prisma.ts** - Change `getLatest` to use `publicProcedure` instead of `protectedProcedure`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/t3-oss/create-t3-app/issues/1961?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information