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

This commit is contained in:
ansuz 2020-04-08 12:08:26 -04:00
parent bef18a9320
commit bd3e18d1a8
1 changed files with 0 additions and 1 deletions

View File

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