@bytebrand/export-cars 1.22.30 → 1.22.31
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/dist/constants/fb.constants.js +1 -1
- package/dist/constants/fb.constants.js.map +1 -1
- package/dist/interfaces/dealers-mapping.interface.d.ts +1 -1
- package/dist/transformers/fb.transformer.js +1 -1
- package/dist/transformers/fb.transformer.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/constants/fb.constants.ts +1 -1
- package/src/interfaces/dealers-mapping.interface.ts +1 -1
- package/src/transformers/fb.transformer.ts +1 -1
package/package.json
CHANGED
|
@@ -6,4 +6,4 @@ export const DEFAULT_CITY = 'Sandersdorf-Brehna';
|
|
|
6
6
|
export const DEFAULT_ADDR1 = 'Max-Planck-Str. 19';
|
|
7
7
|
export const TIMESTAMP_FIRST_YEAR = 1970;
|
|
8
8
|
export const META_PUSH_PRIORITY_STANDARD = 'standard';
|
|
9
|
-
export const META_PUSH_PRIORITY_ALLOWED_VALUES = ['
|
|
9
|
+
export const META_PUSH_PRIORITY_ALLOWED_VALUES = ['dealer_priority_1', 'dealer_priority_2'];
|
|
@@ -166,7 +166,7 @@ export class FbTransformer {
|
|
|
166
166
|
|
|
167
167
|
private async getMetaPushPriority(ownerId: string): Promise<string> {
|
|
168
168
|
const priorities = await this.mappingService.getMetaPushPriorityMapping();
|
|
169
|
-
const entry = priorities.find(priority => priority.
|
|
169
|
+
const entry = priorities.find(priority => priority.dealer_id === ownerId);
|
|
170
170
|
const value = get(entry, 'meta_push_priority', '');
|
|
171
171
|
return includes(META_PUSH_PRIORITY_ALLOWED_VALUES, value) ? value : META_PUSH_PRIORITY_STANDARD;
|
|
172
172
|
}
|