mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-23 09:16:49 +08:00
return 0
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user