srivatsavdamaraju commited on
Commit
5a2b67f
·
verified ·
1 Parent(s): 7b9792a

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -54,7 +54,7 @@ app.post("/api/html-to-pdf", async (req, res) => {
54
  const startTime = Date.now();
55
 
56
  try {
57
- const { html_content: htmlContent, pdf_options: pdfOptions } = req.body || {};
58
 
59
  // Validate input
60
  if (!htmlContent || !htmlContent.trim()) {
 
54
  const startTime = Date.now();
55
 
56
  try {
57
+ const { html_code: htmlContent, pdf_options: pdfOptions } = req.body || {};
58
 
59
  // Validate input
60
  if (!htmlContent || !htmlContent.trim()) {