Skip to content

fix(*): form is a string not boolean

Dan Visel requested to merge pagedjs-fixes-fix into main

In server/pdfexport/graphql.js, there's this series that appends to the FormData object:

  form.append('zip', fs.createReadStream(`${zipPath}`))
  form.append('onlySourceStylesheet', true)
  form.append('imagesForm', 'base64')

This changes the second line to:

  form.append('onlySourceStylesheet', 'true')
Edited by Dan Visel

Merge request reports