only cache a user's pinned channels if there are no errors when loading them
This commit is contained in:
parent
bef18a9320
commit
bd3e18d1a8
@ -49,7 +49,6 @@ var loadUserPins = function (Env, safeKey, cb) {
|
|||||||
// only put this into the cache if it completes
|
// only put this into the cache if it completes
|
||||||
session.channels = value;
|
session.channels = value;
|
||||||
}
|
}
|
||||||
session.channels = value;
|
|
||||||
done(value);
|
done(value);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user