fix broken removePins RPC
This commit is contained in:
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…
x
Reference in New Issue
Block a user