mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +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();
|
||||
if (!redis) {
|
||||
console.error('Redis client is not initialized.');
|
||||
return;
|
||||
return 0; // Return a default number, typically 0 for counts
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user