From 06c31b3922945049c62b403bd676c5ced5e76de6 Mon Sep 17 00:00:00 2001 From: Jan Rundt Date: Fri, 18 Oct 2024 13:24:21 +0300 Subject: [PATCH 1/2] logger from correct place --- updater/sis-updater-worker/src/updater/mapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/sis-updater-worker/src/updater/mapper.js b/updater/sis-updater-worker/src/updater/mapper.js index f9ad2d3d8b..d31ca9d0c0 100644 --- a/updater/sis-updater-worker/src/updater/mapper.js +++ b/updater/sis-updater-worker/src/updater/mapper.js @@ -1,7 +1,7 @@ const { sortBy, flatten, uniqBy } = require('lodash') const { serviceProvider } = require('../config') -const { getMinMaxDate, logger } = require('../utils') +const { getMinMaxDate, logger } = require('../utils/logger') const { educationTypeToExtentcode, getCountry, From 009f3c13ae526913504c2711b769981870d33aad Mon Sep 17 00:00:00 2001 From: Jan Rundt Date: Fri, 18 Oct 2024 13:29:18 +0300 Subject: [PATCH 2/2] ATK is complex and hard --- updater/sis-updater-worker/src/updater/mapper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/updater/sis-updater-worker/src/updater/mapper.js b/updater/sis-updater-worker/src/updater/mapper.js index d31ca9d0c0..e42f269d5b 100644 --- a/updater/sis-updater-worker/src/updater/mapper.js +++ b/updater/sis-updater-worker/src/updater/mapper.js @@ -1,7 +1,8 @@ const { sortBy, flatten, uniqBy } = require('lodash') const { serviceProvider } = require('../config') -const { getMinMaxDate, logger } = require('../utils/logger') +const { getMinMaxDate } = require('../utils') +const { logger } = require('../utils/logger') const { educationTypeToExtentcode, getCountry,