diff --git a/app.js b/app.js index 9c040f3..4e6a14d 100644 --- a/app.js +++ b/app.js @@ -65,10 +65,6 @@ app.post( return res.status(200).send(); } - console.log("testing healing of kbo organizations"); - await healKboUnits(); - console.log("end of test"); - //Update Ovo Number if (wegwijsOvo && wegwijsOvo != identifiers.ovo) { console.log(identifiers.ovo); @@ -259,11 +255,8 @@ async function healKboUnits() { if (wegwijsKboOrg) { if (!kboIdentifierOP.kboOrg) { - console.log("creating new kbo unit"); let newKboOrgUri = await createNewKboOrg(wegwijsKboOrg, kboIdentifierOP.kboId); - - console.log("linking kbo to abb unit"); await linkAbbOrgToKboOrg(kboIdentifierOP.abbOrg, newKboOrgUri); } diff --git a/lib/queries.js b/lib/queries.js index f3990d5..d7d9493 100644 --- a/lib/queries.js +++ b/lib/queries.js @@ -305,10 +305,6 @@ export async function createNewKboOrg(kboOrg, kboId) { const adressUuidId = uuid(); const adressUri = `http://data.lblod.info/id/adressen/${adressUuidId}`; - - console.log("creating:" + kboOrg); - console.log("with:" + kboId); - let updateStr = ` INSERT { GRAPH ?g {