diff --git a/services/apps/search_sync_worker/src/repo/organization.data.ts b/services/apps/search_sync_worker/src/repo/organization.data.ts index 87f7a768e2..235b08e8e4 100644 --- a/services/apps/search_sync_worker/src/repo/organization.data.ts +++ b/services/apps/search_sync_worker/src/repo/organization.data.ts @@ -3,7 +3,7 @@ export interface IDbOrganizationSyncData { organizationId: string segmentId: string tenantId: string - address: string | null + address: unknown | null attributes: unknown createdAt: string description: string | null diff --git a/services/apps/search_sync_worker/src/service/init.service.ts b/services/apps/search_sync_worker/src/service/init.service.ts index bcb8a8bb62..9e8eddde11 100644 --- a/services/apps/search_sync_worker/src/service/init.service.ts +++ b/services/apps/search_sync_worker/src/service/init.service.ts @@ -33,7 +33,17 @@ export class InitService extends LoggerBase { organizationId: InitService.FAKE_ORGANIZATION_ID, tenantId: InitService.FAKE_TENANT_ID, segmentId: InitService.FAKE_SEGMENT_ID, - address: 'Unknown address 123, 321 Unknown City, Unknown Country', + address: { + name: 'paris, ile-de-france, france', + metro: null, + region: 'ile-de-france', + country: 'france', + locality: 'paris', + continent: 'europe', + postal_code: null, + address_line_2: null, + street_address: null, + }, attributes: {}, createdAt: new Date().toISOString(), description: 'Fake organization',