mirror of
https://github.com/Floriansylvain/CineAllo.git
synced 2026-10-18 20:34:11 +02:00
🐛 - contains -> equals in where clause show route
This commit is contained in:
1 parent
20bfea9c6f
commit
98db7693bc
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user