From 05edfd69b9efe0ddd79434fb045e05058a00bbce Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:18:12 -0500 Subject: [PATCH] fix: PR integration --- src/edge_manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edge_manager.ts b/src/edge_manager.ts index b0c19caa..08a73066 100644 --- a/src/edge_manager.ts +++ b/src/edge_manager.ts @@ -214,7 +214,7 @@ export default class QueryEdgeManager { //if both ends match then keep record // Don't keep self-edges - const selfEdge = [...subjectIDs].some((curie) => objectIDs.has(curie)); + const selfEdge = [...subjectIDs].some((curie) => objectIDs.includes(curie)); if (subjectMatch && objectMatch && !selfEdge) { keep.push(record); }