Skip to content

Commit

Permalink
Update organisations.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SheItoon authored Jan 4, 2024
1 parent eca662a commit 6b44d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/organisations.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ orga_router.get('/:id', authenticateTokenAdm, async (req, res) => {
const id = req.params.id;
const users = await prisma.user.findMany({
where: {
OrganisationId: id
OrganisationId: parseInt(id)
}
})
return res.send(users)
Expand Down

0 comments on commit 6b44d5c

Please sign in to comment.