This commit is contained in:
DirkSchlossmacher 2023-11-14 13:12:24 +01:00
parent 4cb13df34f
commit 741f727628

View File

@ -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 {