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) exportedCollectionToHoppCollection(folder, collectionType)
), ),
requests: gqlCollection.requests.map( requests: gqlCollection.requests.map(
({ v, auth, headers, name, id }) => ({ ({ v, auth, headers, name, id, query, url, variables }) => ({
id, id,
v, v,
auth, auth,
headers, headers,
name, name,
query,
url,
variables,
}) })
) as HoppGQLRequest[], ) as HoppGQLRequest[],
auth: data.auth, auth: data.auth,