mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 03:26:38 +08:00
return 0
This commit is contained in:
parent
4cb13df34f
commit
741f727628
@ -117,7 +117,7 @@ export const getSignInCountForPeriod = async (dateKey: string): Promise<number>
|
|||||||
const redis = getRedisClient();
|
const redis = getRedisClient();
|
||||||
if (!redis) {
|
if (!redis) {
|
||||||
console.error('Redis client is not initialized.');
|
console.error('Redis client is not initialized.');
|
||||||
return;
|
return 0; // Return a default number, typically 0 for counts
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user