mirror of
https://github.com/documenso/documenso.git
synced 2026-10-03 02:04:40 +10:00
fix: trim out of bound contents when pdf is replaced
This commit is contained in:
@@ -818,7 +818,7 @@ export const ApiContractV1Implementation = tsr.router(ApiContractV1, {
|
||||
formValues: body.formValues,
|
||||
});
|
||||
|
||||
const newDocumentData = await putNormalizedPdfFileServerSide({
|
||||
const { documentData: newDocumentData } = await putNormalizedPdfFileServerSide({
|
||||
name: fileName,
|
||||
type: 'application/pdf',
|
||||
arrayBuffer: async () => Promise.resolve(prefilled),
|
||||
|
||||
Reference in New Issue
Block a user