Skip to content

Commit

Permalink
fix(contentful): rich text linked asset filter (#38716)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrivalszkyP committed Dec 6, 2023
1 parent 27cb57c commit 9e61200
Showing 1 changed file with 6 additions and 4 deletions.
Expand Up @@ -579,11 +579,13 @@ export const createSchemaCustomization: GatsbyNode["createSchemaCustomization"]

const res = await context.nodeModel.findAll({
query: {
sys: {
id: {
in: links,
filter: {
sys: {
id: {
in: links,
},
spaceId: { eq: node.sys.spaceId },
},
spaceId: { eq: node.sys.spaceId },
},
},
type: `Contentful${entityType}`,
Expand Down

0 comments on commit 9e61200

Please sign in to comment.