fix broken removePins RPC

This commit is contained in:
ansuz 2020-02-05 13:03:44 -05:00
parent a00a9fd018
commit fa525817ba

View File

@ -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');
});
};