fix broken removePins RPC

pull/1/head
ansuz 5 years ago
parent b7ca39715d
commit 14a67b5600

@ -199,7 +199,8 @@ Pinning.removePins = function (Env, safeKey, cb) {
status: err? String(err): 'SUCCESS',
});
cb(err);
if (err) { return void cb(err); }
cb(void 0, 'OK');
});
};

Loading…
Cancel
Save