removed testing lines
This commit is contained in:
7
app.js
7
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user