process password protected pdf files

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2024-01-15 02:22:40 +02:00
1 parent a573545ead
commit e864e8a47f
9 files changed
+143 -14

No files matched your search

@@ -22,6 +22,8 @@ module Api
}
)
}
rescue Templates::CreateAttachments::PdfEncrypted
render json: { error: 'PDF encrypted' }, status: :unprocessable_entity
end
end
end