improve bookmarks

This commit is contained in:
2023-09-04 21:09:53 +02:00
parent ff57b1353b
commit b839c17cca
4 changed files with 102 additions and 3 deletions

View File

@@ -103,6 +103,10 @@ export default router({
}),
getCategories: publicProcedure
.query(async ({ ctx }) => {
return await ctx.prisma.category.findMany()
return await ctx.prisma.category.findMany({
where: {
type: 'TALENT',
},
})
}),
})