refac
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
heightLeft -= pageHeight;
|
||||
}
|
||||
|
||||
pdf.save('document.pdf');
|
||||
pdf.save(`chat-${chat.chat.title}.pdf`);
|
||||
} catch (error) {
|
||||
console.error('Error generating PDF', error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user