From 3ae00c11653e0e2f02e26f4cb59eb89e90e55b25 Mon Sep 17 00:00:00 2001 From: Elias Papanikitas Date: Fri, 23 Feb 2024 08:53:49 +0100 Subject: [PATCH] removed testing lines --- app.js | 7 ------- lib/queries.js | 4 ---- 2 files changed, 11 deletions(-) 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 {