diff --git a/app/services/import/legacy-licence.service.js b/app/services/import/legacy-licence.service.js index cf58199af2..8252cdbcc4 100644 --- a/app/services/import/legacy-licence.service.js +++ b/app/services/import/legacy-licence.service.js @@ -18,24 +18,16 @@ const PersistLicenceService = require('./persist-licence.service.js') * @returns {Promise} an object representing the saved licence in the database */ async function go (licenceRef) { - console.debug('Importing licence ref: ', licenceRef) const licenceData = await FetchLegacyImportLicenceService.go(licenceRef) - console.debug('Imported licence data: ', licenceData) const licenceVersionsData = await FetchLegacyImportLicenceVersionsService.go(licenceData) - console.debug('Imported licence versions data: ', licenceVersionsData) - const mappedLicenceData = await LegacyImportLicenceMapper.go(licenceData, licenceVersionsData) - console.debug('Mapped imported licence data: ', mappedLicenceData) - ImportLicenceValidatorService.go(mappedLicenceData) const savedLicence = await PersistLicenceService.go(mappedLicenceData) - console.debug('Saved Licence: ', savedLicence) - return savedLicence }