Skip to content

Commit

Permalink
fix: incorrectly sent models
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Sep 29, 2019
1 parent f9bbbdf commit ce3eb9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default async ({ menu, context: graphqlContext }: Object) => {
if (!context.distinctParents.loaded) {
const ids = Object.keys(context.distinctParents.data);

const { PbPage, PbCategory } = graphqlContext;
const { PbPage, PbCategory } = graphqlContext.models;
await listPublishedPages({
args: { parent: ids },
PbPage,
Expand Down

0 comments on commit ce3eb9e

Please sign in to comment.