Skip to content

Commit

Permalink
feat(api/category): remove orderBy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Nov 29, 2023
1 parent facc011 commit 5cdc285
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/api/src/router/category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const categoryRouter = createTRPCRouter({
)
.query(async ({ ctx, input }) => {
return await ctx.db.query.categories.findMany({
orderBy: (category, { asc }) => [asc(category.name)],
...(input.partial && {
columns: {
id: true,
Expand Down

0 comments on commit 5cdc285

Please sign in to comment.