mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 19:51:32 +10:00
feat: include audit logs
This commit is contained in:
@ -118,9 +118,10 @@ export const sealDocument = async ({
|
||||
}).catch(() => null)
|
||||
: null;
|
||||
|
||||
const auditLogData = await getAuditLogsPdf({ documentId }).catch(() => null);
|
||||
|
||||
console.log({ auditLogData });
|
||||
const auditLogData = await getAuditLogsPdf({
|
||||
documentId,
|
||||
language: document.documentMeta?.language,
|
||||
}).catch(() => null);
|
||||
|
||||
const doc = await PDFDocument.load(pdfData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user