From c2e34bf7cb6b8ec7ca04a6f4c615a0b3fdf63d09 Mon Sep 17 00:00:00 2001 From: Tereshchenko Aleksandr Date: Wed, 29 May 2024 11:07:27 +0300 Subject: [PATCH] Fix lint errors --- importer-db-api/src/routes/grapa/config.js | 12 ++++++++++-- importer-db-api/src/routes/grapa/grapa.js | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/importer-db-api/src/routes/grapa/config.js b/importer-db-api/src/routes/grapa/config.js index 494ce784..255fa0df 100644 --- a/importer-db-api/src/routes/grapa/config.js +++ b/importer-db-api/src/routes/grapa/config.js @@ -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 } diff --git a/importer-db-api/src/routes/grapa/grapa.js b/importer-db-api/src/routes/grapa/grapa.js index c2f8c425..654fc4e0 100644 --- a/importer-db-api/src/routes/grapa/grapa.js +++ b/importer-db-api/src/routes/grapa/grapa.js @@ -24,7 +24,7 @@ grapaRouter.get('/persons', async (req, res) => { offset }, mapToModel: true, - model: models.Person, + model: models.Person } )