Make document.key optional

This commit is contained in:
Wolfgang Ginolas 2023-01-27 10:24:35 +01:00
parent af8f7e5865
commit f28e4cfdb1
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@
}
if (!config) { return reject('Missing args: no data provided'); }
if(['document.url', 'document.fileType', 'document.key', 'documentType',
if(['document.url', 'document.fileType', 'documentType',
'events.onSave', 'events.onNewKey'].some(function (k) {
var s = k.split('.');
var c = config;