mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-21 07:02:32 +02:00
feat: api for createtemplate using base64 and binary
This commit is contained in:
@@ -13,7 +13,7 @@ export default async function TemplateAfterSave(request) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (request.user) {
|
||||
if (request?.user) {
|
||||
const signers = request.object.get('Signers');
|
||||
if (signers && signers.length > 0) {
|
||||
await updateAclDoc(request.object.id);
|
||||
|
||||
@@ -112,7 +112,6 @@ async function sendDoctoWebhook(t) {
|
||||
.post(t?.data?.ExtUserPtr?.Webhook, e, { headers: { 'Content-Type': 'application/json' } })
|
||||
.then(e => {
|
||||
try {
|
||||
console.log('res ', e);
|
||||
var a = new Parse.Object('contracts_Webhook');
|
||||
a.set('Log', e?.status),
|
||||
a.set('UserId', {
|
||||
|
||||
Reference in New Issue
Block a user