mirror of
https://github.com/Floriansylvain/CineAllo.git
synced 2026-08-19 11:43:24 +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({
|
const articles = await prisma.serie.findMany({
|
||||||
where: {
|
where: {
|
||||||
title: {
|
title: {
|
||||||
contains: req.params.id
|
equals: req.params.id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user