Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed May 29, 2024
1 parent 1014e3f commit c2e34bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions importer-db-api/src/routes/grapa/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
const relevantAttributes = {
persons: ['id', 'edu_person_principal_name', 'preferred_language_urn', 'first_names', 'last_name', 'primary_email', 'employee_number'],
persons: [
'id',
'edu_person_principal_name',
'preferred_language_urn',
'first_names',
'last_name',
'primary_email',
'employee_number'
]
}

module.exports = {
relevantAttributes,
relevantAttributes
}
2 changes: 1 addition & 1 deletion importer-db-api/src/routes/grapa/grapa.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ grapaRouter.get('/persons', async (req, res) => {
offset
},
mapToModel: true,
model: models.Person,
model: models.Person
}
)

Expand Down

0 comments on commit c2e34bf

Please sign in to comment.