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

Commit

Permalink
Fix sidebars resolver args
Browse files Browse the repository at this point in the history
  • Loading branch information
zarathustra323 committed Aug 11, 2021
1 parent 4b2e033 commit a680fd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit a680fd3

Please sign in to comment.