@bytebrand/export-cars 1.21.72 → 1.21.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/export-cars",
3
- "version": "1.21.72",
3
+ "version": "1.21.73",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -49,7 +49,9 @@ export class SantanderTransformer {
49
49
  this.currentCar = carData;
50
50
  const transformedCarData = {};
51
51
  const rules = await this.mappingService.getRules();
52
- console.log('rules', rules);
52
+
53
+ console.log('rules', JSON.stringify(rules));
54
+
53
55
  for (const rule of rules) {
54
56
  if (rule.custom === 'yes') {
55
57
  const transformedField = await this.customTransformers(rule, carData, images);
@@ -136,7 +138,8 @@ export class SantanderTransformer {
136
138
  return this.selectorToCategoryOrClass_selector(fieldValue);
137
139
  }
138
140
  default:
139
- LoggerService.log(`missing transform: ${transformProcedureName} - ${fieldValue}`);
141
+ LoggerService.log(
142
+ `missing transform: ${transformProcedureName} - ${fieldValue} - [${rule.importField}] - ${rule.autodeField}`);
140
143
  break;
141
144
  }
142
145
  }