diff --git a/services/graphql-server/src/graphql/resolvers/platform/content.js b/services/graphql-server/src/graphql/resolvers/platform/content.js index a1ba5e22d..ebcdeb42d 100644 --- a/services/graphql-server/src/graphql/resolvers/platform/content.js +++ b/services/graphql-server/src/graphql/resolvers/platform/content.js @@ -876,8 +876,7 @@ module.exports = { }); customAttributes.forEach(({ key, value }) => { - const fullKeyPath = `customAttributes.${key}`; - query.$and.push({ [fullKeyPath]: value }); + query.$and.push({ [`customAttributes.${key}`]: value }); }); const siteId = input.siteId || site.id();