mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
feat(analytics): track cron count
This commit is contained in:
committed by
Kevin Gisi
parent
e9baafcbc8
commit
e46789c303
@@ -262,7 +262,7 @@ api.update = function(req, res, next) {
|
||||
|
||||
api.cron = function(req, res, next) {
|
||||
var user = res.locals.user,
|
||||
progress = user.fns.cron(),
|
||||
progress = user.fns.cron({ga:ga}),
|
||||
ranCron = user.isModified(),
|
||||
quest = shared.content.quests[user.party.quest.key];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user