Nexchan commited on
Commit
1bbb4af
·
verified ·
1 Parent(s): 2415948

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -330,7 +330,7 @@ async function Shinigami_download(url) {
330
  const pdfPath = await createPDF(imagePaths, instanceID, tempDir);
331
 
332
  console.log(`PDF berhasil dibuat: ${pdfPath}`);
333
- return { path: pdfPath, title: title, url: `https://${process.env.SPACE_HOST}/temp/${path.basename(pdfPathq)}` };
334
  } catch (error) {
335
  console.error(error);
336
  throw error;
 
330
  const pdfPath = await createPDF(imagePaths, instanceID, tempDir);
331
 
332
  console.log(`PDF berhasil dibuat: ${pdfPath}`);
333
+ return { path: pdfPath, title: title, url: `https://${process.env.SPACE_HOST}/temp/${path.basename(pdfPath)}` };
334
  } catch (error) {
335
  console.error(error);
336
  throw error;