From dc63238b34d8d448ded854c7635a55750d02f122 Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Mon, 2 Mar 2020 11:26:21 +0200 Subject: [PATCH] fix: TG findEdges fromDID --- packages/daf-trust-graph/src/queries.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/daf-trust-graph/src/queries.ts b/packages/daf-trust-graph/src/queries.ts index d50d4ac06..904becc31 100644 --- a/packages/daf-trust-graph/src/queries.ts +++ b/packages/daf-trust-graph/src/queries.ts @@ -12,8 +12,8 @@ export const addEdge = gql` ` export const findEdges = gql` - query findEdges($toDID: [String], $since: Int) { - findEdges(toDID: $toDID, since: $since) { + query findEdges($toDID: [String], $fromDID: [String], $since: Int) { + findEdges(toDID: $toDID, fromDID: $fromDID, since: $since) { hash time type