Skip to content

Commit

Permalink
fix(server): change protected into public procedure in post by params (
Browse files Browse the repository at this point in the history
…#24)

* fix: add limit 10 related post tag

* style: change to default blue shadcn theme

* fix(server): add new social media if it is less than the prev value

* fix(server): change protected into public procedure in post by params

---------

Co-authored-by: Andika E. Kurnia <73420758+DikDns@users.noreply.github.com>
  • Loading branch information
himarpl and DikDns authored Jul 12, 2024
1 parent d46af1e commit 1f4129d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/routers/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const postRouter = createTRPCRouter({
},
});
}),
byParams: protectedProcedure
byParams: publicProcedure
.input(
z.object({
username: z.string(),
Expand Down

0 comments on commit 1f4129d

Please sign in to comment.