mirror of https://github.com/xwiki-labs/cryptpad
Fix type error
This commit is contained in:
parent
fb606929ef
commit
2628d25030
|
@ -568,7 +568,10 @@ define([
|
|||
var metaObj;
|
||||
nThen(function (waitFor) {
|
||||
Cryptpad.getMetadata(waitFor(function (err, m) {
|
||||
if (err) { console.log(err); }
|
||||
if (err) {
|
||||
waitFor.abort();
|
||||
return void console.log(err);
|
||||
}
|
||||
metaObj = m;
|
||||
edPublic = metaObj.priv.edPublic; // needed to create an owned pad
|
||||
curvePublic = metaObj.user.curvePublic;
|
||||
|
|
Loading…
Reference in New Issue