Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed Jun 12, 2024
1 parent 9e76a8d commit 6e6ebdb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions importer-db-api/src/routes/grapa/grapa.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ grapaRouter.get('/persons', async (req, res) => {
})

grapaRouter.get('/studytracks/:code', async (req, res) => {
const programmes = (await models.Module.findAll({
where: {
code: req.params.code
}
})).filter(p => !p.validityPeriod.endDate)
const programmes = (
await models.Module.findAll({
where: {
code: req.params.code
}
})
).filter(p => !p.validityPeriod.endDate)

const [studytracks] = await sequelize.query(
`
Expand Down

0 comments on commit 6e6ebdb

Please sign in to comment.