fix a typo

pull/1/head
ansuz 5 years ago
parent 90d8a7a684
commit 9824136917

@ -384,7 +384,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
} }
// reject commandws wehere the members are not proper objects // reject commandws wehere the members are not proper objects
if (!isMap(args[curve])) { throw new Error("INVALID_CONTENT"); } if (!isMap(args[curve])) { throw new Error("INVALID_CONTENT"); }
if (members[curve]) { throw new Error("ARLEADY_PRESNET"); } if (members[curve]) { throw new Error("ARLEADY_PRESENT"); }
var data = args[curve]; var data = args[curve];
// if no role was provided, assume VIEWER // if no role was provided, assume VIEWER

Loading…
Cancel
Save