fix: preserve hierarchy during personal collection imports (#4815)

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
Chhavi Goyal 2025-03-14 04:16:04 -04:00 committed by GitHub
parent 212cd4969d
commit 622b753c55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 0 deletions

View file

@ -115,6 +115,7 @@ const recursivelySyncCollections = async (
collection.id = childCollectionId
collection.auth = returnedData.auth
collection.headers = returnedData.headers
parentCollectionID = childCollectionId
removeDuplicateGraphqlCollectionOrFolder(
childCollectionId,

View file

@ -120,6 +120,7 @@ const recursivelySyncCollections = async (
collection._ref_id = returnedData._ref_id ?? generateUniqueRefId("coll")
collection.auth = returnedData.auth
collection.headers = returnedData.headers
parentCollectionID = childCollectionId
removeDuplicateRESTCollectionOrFolder(
childCollectionId,

View file

@ -115,6 +115,7 @@ const recursivelySyncCollections = async (
collection.id = childCollectionId
collection.auth = returnedData.auth
collection.headers = returnedData.headers
parentCollectionID = childCollectionId
removeDuplicateGraphqlCollectionOrFolder(
childCollectionId,

View file

@ -120,6 +120,7 @@ const recursivelySyncCollections = async (
collection._ref_id = returnedData._ref_id ?? generateUniqueRefId("coll")
collection.auth = returnedData.auth
collection.headers = returnedData.headers
parentCollectionID = childCollectionId
removeDuplicateRESTCollectionOrFolder(
childCollectionId,