Fix type error

pull/1/head
yflory 4 years ago
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…
Cancel
Save