fix broken removePins RPC

pull/1/head
ansuz 5 years ago
parent a00a9fd018
commit fa525817ba

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

Loading…
Cancel
Save