mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix(cron): remove now-erroneous function call
This commit is contained in:
@@ -66,7 +66,6 @@ async function cronAsync (req, res) {
|
||||
res.locals.user = user;
|
||||
const { daysMissed, timezoneUtcOffsetFromUserPrefs } = user.daysUserHasMissed(now, req);
|
||||
|
||||
user.enrollInDropCapABTest(req.headers['x-client']);
|
||||
await updateLastCron(user, now);
|
||||
|
||||
if (daysMissed <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user