Skip to content
Snippets Groups Projects
Commit 3702569f authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] Clean dead code

parent 4ca160dc
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment