mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
Fixed lint issue
This commit is contained in:
@@ -28,7 +28,7 @@ export function setNextDue (task, user, dueDateOption) {
|
||||
|
||||
let dateTaskIsDue = Date.now();
|
||||
if (dueDateOption) dateTaskIsDue = moment(dueDateOption);
|
||||
console.log(dueDateOption)
|
||||
|
||||
let optionsForShouldDo = user.preferences.toObject();
|
||||
task.isDue = shared.shouldDo(dateTaskIsDue, task, optionsForShouldDo);
|
||||
optionsForShouldDo.nextDue = true;
|
||||
|
||||
Reference in New Issue
Block a user