From 56f427740d92f283709d09a99e333d789c74a534 Mon Sep 17 00:00:00 2001 From: nivedin Date: Wed, 13 Dec 2023 17:05:13 +0530 Subject: [PATCH] fix: use remaining gql request items when sync --- .../src/platform/collections/collections.platform.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/hoppscotch-selfhost-web/src/platform/collections/collections.platform.ts b/packages/hoppscotch-selfhost-web/src/platform/collections/collections.platform.ts index 747f67f1b..568c80a36 100644 --- a/packages/hoppscotch-selfhost-web/src/platform/collections/collections.platform.ts +++ b/packages/hoppscotch-selfhost-web/src/platform/collections/collections.platform.ts @@ -168,12 +168,15 @@ function exportedCollectionToHoppCollection( exportedCollectionToHoppCollection(folder, collectionType) ), requests: gqlCollection.requests.map( - ({ v, auth, headers, name, id }) => ({ + ({ v, auth, headers, name, id, query, url, variables }) => ({ id, v, auth, headers, name, + query, + url, + variables, }) ) as HoppGQLRequest[], auth: data.auth,