-
Hi community,
But as a result of this what I get is a corrupted pdf file which cannot be opened. Just to check I tried to return the Any help here is highly appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
Rahul7S
Nov 12, 2021
Replies: 1 comment
-
I was able to finally figure out that was wrong here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Rahul7S
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to finally figure out that was wrong here.
I have to return a new Buffer. As below
const modifiedPDF = new Buffer.from(modifiedPDF);