From 67d35adaf4449734fdd0f35d6285a0d48176c0b1 Mon Sep 17 00:00:00 2001 From: paidge <paidge_cs@hotmail.com> Date: Wed, 5 Jan 2022 02:30:56 +0100 Subject: [PATCH] correcting query for members/_hash --- graphql/queries.js | 52 ++++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/graphql/queries.js b/graphql/queries.js index 1db39a0..933cc50 100644 --- a/graphql/queries.js +++ b/graphql/queries.js @@ -223,41 +223,43 @@ export const SEARCH_MEMBER = gql`query SearchMemberWithHash($hash: Hash!) { membership_pending limitDate distance { + __typename + value { __typename - value { - __typename - ratio - } - dist_ok + ratio + } + dist_ok } received_certifications { + __typename + certifications { __typename - certifications { - __typename - from { - ...attr - } - expires_on + from { + ...attr } + expires_on + } } sent_certifications { - __typename - to { - ...attr - } - expires_on + __typename + to { + ...attr + } + expires_on } } } fragment attr on Identity { + __typename + uid + hash + status + quality { __typename - uid - hash - status - quality { - ratio - } - received_certifications { - limit - } + ratio + } + received_certifications { + __typename + limit + } }` \ No newline at end of file -- GitLab