diff --git a/method/link.js b/method/link.js index a0fa7a4..0928915 100644 --- a/method/link.js +++ b/method/link.js @@ -80,8 +80,8 @@ module.exports = function Link (ssb) { where( and( dbType(type), - parent && equal(seekParent, parent, { indexType: 'parent', prefix: true }), - child && equal(seekChild, child, { indexType: 'child', prefix: true }), + parent && equal(seekParent, parent, { indexType: 'linkParent', prefix: true }), + child && equal(seekChild, child, { indexType: 'linkChild', prefix: true }), equal(seekTanglesLinkRoot, null, { indexType: 'tanglesLinkRoot', prefix: true }), equal(seekTanglesLinkPrevious, null, { indexType: 'tanglesLinkPrevious', prefix: true }) )