From 4f8369ec79c6d8dfab695106818bdb201bf46944 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Thu, 21 Sep 2023 13:16:40 +0200 Subject: [PATCH] log for debugging --- src/services/common/IdNotService/IdNotService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/common/IdNotService/IdNotService.ts b/src/services/common/IdNotService/IdNotService.ts index 4afda0ae..23db962c 100644 --- a/src/services/common/IdNotService/IdNotService.ts +++ b/src/services/common/IdNotService/IdNotService.ts @@ -257,6 +257,7 @@ export default class IdNotService extends BaseService { public async updateOffice(officeId: string) { const officeInfos = await this.officeService.getByUid(officeId); + console.log(officeInfos) const office = Office.hydrate(officeInfos!); const searchParams = new URLSearchParams({ key: this.variables.IDNOT_API_KEY, @@ -274,6 +275,7 @@ export default class IdNotService extends BaseService { return; } const officeData = (await officeRawData.json()) as IOfficeData; + console.log(officeData); let updates = 0; if(office.name !== officeData.denominationSociale) { updates++;