removed testing lines

This commit is contained in:
Elias Papanikitas
2024-02-23 08:53:49 +01:00
parent c0f99d7621
commit 3ae00c1165
2 changed files with 0 additions and 11 deletions

7
app.js
View File

@@ -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);
}

View File

@@ -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 {