Skip to content

Commit

Permalink
ext
Browse files Browse the repository at this point in the history
  • Loading branch information
edward3sc committed Jun 26, 2024
1 parent a9f3421 commit aa5be68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/routes/v3/answers.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,9 @@ class AnswerRouter {
}

if (fileType === "pdf") {
console.log("PDF", imageBuffers.length)
const imagesPdfInput = [];
for (const buffer of imageBuffers) {
const fileExt = buffer.url.split("/").pop().split(".").pop().split("?")[0];
console.log("fileExt", fileExt)
// Rotate images if they are in the wrong orientation (only for jpeg) as pdfgen does not do this
if (fileExt === "jpeg" || fileExt === "jpg") {
try {
Expand Down

0 comments on commit aa5be68

Please sign in to comment.