mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Add additional data about dailies to task history (#13444)
This commit is contained in:
@@ -308,6 +308,8 @@ export default function scoreTask (options = {}, req = {}, analytics) {
|
||||
const historyEntry = {
|
||||
date: Number(new Date()),
|
||||
value: task.value,
|
||||
isDue: task.isDue,
|
||||
completed: true,
|
||||
};
|
||||
task.history.push(historyEntry);
|
||||
} else if (direction === 'down') {
|
||||
|
||||
Reference in New Issue
Block a user