mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-20 23:11:42 +01:00
improve bookmarks
This commit is contained in:
@@ -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',
|
||||
},
|
||||
})
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user