Browse Source

hotfix

master
ansuz 9 months ago
parent
commit
bef18a9320
1 changed files with 7 additions and 3 deletions
  1. 10
      lib/commands/pin-rpc.js

10
lib/commands/pin-rpc.js

@ -56,9 +56,13 @@ var loadUserPins = function (Env, safeKey, cb) {
};
var truthyKeys = function (O) {
return Object.keys(O).filter(function (k) {
return O[k];
});
try {
return Object.keys(O).filter(function (k) {
return O[k];
});
} catch (err) {
return [];
}
};
var getChannelList = Pinning.getChannelList = function (Env, safeKey, _cb) {

Loading…
Cancel
Save