From a680fd36bd95b7fccb1bdf73aac411d25da1377d Mon Sep 17 00:00:00 2001 From: Jacob Bare Date: Wed, 11 Aug 2021 07:24:22 -0500 Subject: [PATCH] Fix `sidebars` resolver args --- .../graphql-server/src/graphql/resolvers/platform/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graphql-server/src/graphql/resolvers/platform/content.js b/services/graphql-server/src/graphql/resolvers/platform/content.js index 81f5a93da..3513b9fd4 100644 --- a/services/graphql-server/src/graphql/resolvers/platform/content.js +++ b/services/graphql-server/src/graphql/resolvers/platform/content.js @@ -634,7 +634,7 @@ module.exports = { * */ ContentArticle: { - sidebars: async ({ sidebars }, { site, basedb }) => { + sidebars: async ({ sidebars }, _, { site, basedb }) => { if (!isArray(sidebars)) return []; const bodies = await Promise.all(sidebars.map(async ({ body } = {}) => { const value = await prepareSidebarBody(body, { site, basedb });