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

Commit

Permalink
Merge pull request #83 from artemjackson/patch-1
Browse files Browse the repository at this point in the history
Bugfix: deep media fields are not parsed
  • Loading branch information
alexandrebodin authored Mar 13, 2020
2 parents b50a965 + 1bfb18e commit 42bfa83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ const extractFields = async (
if (fileNodeID) {
item[`${key}___NODE`] = fileNodeID
}
} else if (field !== null && typeof field === 'object') {
extractFields(apiURL, store, cache, createNode, touchNode, auth, field);
}
}
}
Expand Down

0 comments on commit 42bfa83

Please sign in to comment.