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