@bytebrand/export-cars 1.5.0 → 1.5.1

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.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -65,5 +65,5 @@
65
65
  "engines": {
66
66
  "node": ">=14.0.0"
67
67
  },
68
- "gitHead": "5f497bf539ee87da5a7eead3779c8b88e329edb4"
68
+ "gitHead": "7b54f13b4d0228f2f85b9326e4b6c08512da5c20"
69
69
  }
@@ -7,7 +7,7 @@ export class KleinanzeigeFocusConfig extends Config {
7
7
  super(params);
8
8
  this.pathesConfig.localConvertedDirectory = this.environmentConfig[params.environment].localConvertedDirectory;
9
9
  this.pathesConfig.remoteDirectory = this.environmentConfig[params.environment].remoteDirectory;
10
- this.imageUrl = this.environmentConfig[params.environment].imageUrl;
10
+ this.imageUrl = this.environmentConfig[params.environment].baseImageUrl;
11
11
  this.outputFiles = [`api_export_cars_${ExportType.KLEINANZEIGE_FOCUS}.${FileTypes.xml}`];
12
12
  }
13
13
  }
@@ -138,7 +138,7 @@ export class RubrikkTransformer {
138
138
  private getImagesLinks(carId: string, images: ImboImageResponseInterface[]): string[] {
139
139
  if (isNotEmptyArray(images)) {
140
140
  return images.map((image: ImboImageResponseInterface) => {
141
- return `https://${this.configService.config.url}/carimage/${carId}/${image.imageIdentifier}/large`;
141
+ return `https://${this.configService.config.baseImageUrl}/carimage/${carId}/${image.imageIdentifier}/large`;
142
142
  });
143
143
  }
144
144
  return [];