mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Make document.key optional
This commit is contained in:
parent
af8f7e5865
commit
f28e4cfdb1
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user