@bytebrand/export-cars 1.12.9 → 1.12.10

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.12.9",
3
+ "version": "1.12.10",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=14.0.0"
62
62
  },
63
- "gitHead": "fe0c961d6fecc62432c7dd4964099f2d6fe16b90"
63
+ "gitHead": "525eca75925ecb5b76e747ff2a85f5b0dc8cf987"
64
64
  }
@@ -1,6 +1,7 @@
1
1
  import { CACHE_MANAGER, Inject, Injectable } from '@nestjs/common';
2
2
 
3
3
  import { MarketingImageConfigInterface, MarketingImageConfigsInterface } from '@bytebrand/autode-request';
4
+ import { CronicleUtils } from '@bytebrand/cronicle-helper';
4
5
 
5
6
  import { RequestService } from './request.service';
6
7
  import { Cache } from 'cache-manager';
@@ -19,7 +20,7 @@ export class UserService {
19
20
  return cachedResponse;
20
21
  }
21
22
 
22
- const defaultSummary = await this.requestService.userActionsRequest.getDefaultSummaryByDealerId(dealerId);
23
+ const defaultSummary = await CronicleUtils.retry(() => this.requestService.userActionsRequest.getDefaultSummaryByDealerId(dealerId), 1, 30, true);
23
24
  const result = get(defaultSummary, 'data.schema', {});
24
25
  await this.cacheManager.set(cacheKey, result);
25
26