mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
fix(quests): temporarily send error email on questStart (if already
started), see #3451. Revert later
This commit is contained in:
parent
9a4e8d38b4
commit
35ef88c6c0
1 changed files with 3 additions and 1 deletions
|
|
@ -490,7 +490,9 @@ questStart = function(req, res, next) {
|
|||
var group = res.locals.group;
|
||||
var force = req.query.force;
|
||||
|
||||
if (group.quest.active) return res.json(400,{err:'Quest already began.'});
|
||||
// if (group.quest.active) return res.json(400,{err:'Quest already began.'});
|
||||
// temporarily send error email, until we know more about this issue (then remove below, uncomment above).
|
||||
if (group.quest.active) return next('Quest already began.');
|
||||
|
||||
group.markModified('quest');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue