fix: use remaining gql request items when sync

This commit is contained in:
nivedin
2023-12-13 17:05:13 +05:30
committed by Andrew Bastin
parent e4eaa2cec9
commit 56f427740d

View File

@@ -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,