log for debugging (#76)
This commit is contained in:
commit
830e8373e6
@ -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<Office>(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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user