mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Updated login headers save. Added task service to user service. Sync user tasks
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
stop: function (event, ui) {
|
||||
var task = angular.element(ui.item[0]).scope().task;
|
||||
var startIndex = ui.item.data('startIndex');
|
||||
User.user.ops.sortTask({
|
||||
params: { id: task.id },
|
||||
User.sortTask({
|
||||
params: { id: task._id, taskType: task.type },
|
||||
query: {
|
||||
from: startIndex,
|
||||
to: ui.item.index()
|
||||
|
||||
Reference in New Issue
Block a user