mirror of
https://github.com/documenso/documenso.git
synced 2025-11-23 05:01:54 +10:00
feat: add document view page
This commit is contained in:
@ -210,6 +210,13 @@ export const run = async ({
|
||||
},
|
||||
});
|
||||
|
||||
await tx.documentAccessToken.create({
|
||||
data: {
|
||||
token: nanoid(32),
|
||||
documentId: document.id,
|
||||
},
|
||||
});
|
||||
|
||||
await tx.documentAuditLog.create({
|
||||
data: createDocumentAuditLogData({
|
||||
type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_COMPLETED,
|
||||
|
||||
Reference in New Issue
Block a user