mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
change references to imported libs
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = function(user, req, cb) {
|
||||
}
|
||||
tasks = user[task.type + "s"];
|
||||
if (task.type === 'todo' && tasks[from] !== task) {
|
||||
preenedTasks = api.preenTodos(tasks);
|
||||
preenedTasks = preenTodos(tasks);
|
||||
if (to !== -1) {
|
||||
to = tasks.indexOf(preenedTasks[to]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user