mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-16 01:20:52 +01:00
fix: cache key
This commit is contained in:
@@ -120,7 +120,7 @@ Groups.getAllGroupNames = async function (set) {
|
||||
return [...names];
|
||||
}
|
||||
names = await db.getSortedSetRevRange(set, 0, -1);
|
||||
cache.set(names);
|
||||
cache.set(cacheKey, names);
|
||||
return [...names];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user