mirror of
https://github.com/Floriansylvain/CineAllo.git
synced 2026-08-19 19:53:16 +02:00
🐛 - contains -> equals in where clause show route
This commit is contained in:
+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