Skip to content

Commit

Permalink
fix(api-page-builder): compress page content on publish (#3575)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Oct 4, 2023
1 parent 8743fd6 commit 6a1281b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/api-page-builder/src/graphql/crud/pages.crud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -943,10 +943,10 @@ export const createPageCrud = (params: CreatePageCrudParams): PagesCrud => {
});

const newPublishedPageRaw = await storageOperations.pages.publish({
original,
page,
latestPage,
publishedPage,
original: await compressPage(original),
page: await compressPage(page),
latestPage: await compressPage(latestPage),
publishedPage: publishedPage ? await compressPage(publishedPage) : null,
publishedPathPage
});

Expand Down

0 comments on commit 6a1281b

Please sign in to comment.