🐛 - contains -> equals in where clause show route

This commit is contained in:
Florian Sylvain
2022-11-10 13:34:37 +01:00
parent 20bfea9c6f
commit 98db7693bc
+1 -1
View File
@@ -14,7 +14,7 @@ showsRouter.get('/:id', async function(req, res, next) {
const articles = await prisma.serie.findMany({
where: {
title: {
contains: req.params.id
equals: req.params.id
}
}
})