Skip to content

Commit

Permalink
Send all enrolments for norppa updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Dec 19, 2023
1 parent f2e3a21 commit 7aa0561
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions importer-db-api/src/routes/palaute/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const relevantAttributes = {
enrolment: [
'id',
'state',
'personId',
'assessmentItemId',
'courseUnitRealisationId',
Expand Down
1 change: 0 additions & 1 deletion importer-db-api/src/routes/palaute/palaute.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ updaterRouter.get('/enrolments', async (req, res) => {

const enrolments = await models.Enrolment.findAll({
where: {
state: 'ENROLLED',
enrolmentDateTime: {
[Op.gte]: since,
},
Expand Down

0 comments on commit 7aa0561

Please sign in to comment.