only cache a user's pinned channels if there are no errors when loading them

pull/1/head
ansuz 5 years ago
parent bef18a9320
commit bd3e18d1a8

@ -49,7 +49,6 @@ var loadUserPins = function (Env, safeKey, cb) {
// only put this into the cache if it completes
session.channels = value;
}
session.channels = value;
done(value);
});
});

Loading…
Cancel
Save