diff --git a/app/lib/dal/fileDAL.js b/app/lib/dal/fileDAL.js index 5f6614edd39f3e593583aa5249d9ccbdf5052b15..69d3f83e6ab1ed3c7db9456da6edb7f419cd1c06 100644 --- a/app/lib/dal/fileDAL.js +++ b/app/lib/dal/fileDAL.js @@ -541,10 +541,10 @@ function FileDAL(params) { const from = yield that.getWrittenIdtyByPubkey(entry.issuer); const to = yield that.getWrittenIdtyByPubkey(entry.receiver); if (entry.op == constants.IDX_CREATE) { - that.wotb.addLink(from.wotb_id, to.wotb_id, true); + that.wotb.addLink(from.wotb_id, to.wotb_id); } else { // Update = removal - that.wotb.removeLink(from.wotb_id, to.wotb_id, true); + that.wotb.removeLink(from.wotb_id, to.wotb_id); } } });