Skip to content

Commit

Permalink
fix: add "preview" boolean field
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Apr 14, 2020
1 parent f2d410e commit dace12e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app-page-builder/src/site/components/Page/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export const GET_PUBLISHED_PAGE = () => {
.join("\n");

return gql`
query PbGetPublishedPage($id: ID, $url: String, $parent: ID, $returnNotFoundPage: Boolean, $returnErrorPage: Boolean) {
query PbGetPublishedPage($id: ID, $url: String, $parent: ID, $returnNotFoundPage: Boolean, $returnErrorPage: Boolean, $preview: Boolean) {
pageBuilder {
page: getPublishedPage(id: $id, url: $url, parent: $parent, returnNotFoundPage: $returnNotFoundPage, returnErrorPage: $returnErrorPage) {
page: getPublishedPage(id: $id, url: $url, parent: $parent, returnNotFoundPage: $returnNotFoundPage, returnErrorPage: $returnErrorPage, preview: $preview) {
data {
id
title
Expand Down

0 comments on commit dace12e

Please sign in to comment.