pull/1/head
ansuz 5 years ago
parent 7fac997e93
commit bef18a9320

@ -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