mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-21 07:02:32 +02:00
fix: userId missing in aftersave of doucment and template cls
This commit is contained in:
@@ -43,7 +43,7 @@ async function DocumentAftersave(request) {
|
||||
if (signers && signers.length > 0) {
|
||||
await updateAclDoc(request.object.id);
|
||||
} else {
|
||||
if (request?.object?.id) {
|
||||
if (request?.object?.id && request.user) {
|
||||
await updateSelfDoc(request.object.id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user