Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 42bfa83

Browse files
Merge pull request #83 from artemjackson/patch-1
Bugfix: deep media fields are not parsed
2 parents b50a965 + 1bfb18e commit 42bfa83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/normalize.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ const extractFields = async (
6565
if (fileNodeID) {
6666
item[`${key}___NODE`] = fileNodeID
6767
}
68+
} else if (field !== null && typeof field === 'object') {
69+
extractFields(apiURL, store, cache, createNode, touchNode, auth, field);
6870
}
6971
}
7072
}

0 commit comments

Comments
 (0)