diff --git a/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java b/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java index 9d2995f40..349ca292a 100644 --- a/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java +++ b/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java @@ -242,14 +242,16 @@ public class ProducteevInvoker { * * @param idTask * @param deadline + * @param allDay (optional), 1: all day task (time specified in deadline will be ignored), 0: deadline with time * * @return array tasks/view */ - public JSONObject tasksSetDeadline(long idTask, String deadline) throws ApiServiceException, IOException { + public JSONObject tasksSetDeadline(long idTask, String deadline, Integer allDay) throws ApiServiceException, IOException { return callAuthenticated("tasks/set_deadline.json", "token", token, "id_task", idTask, - "deadline", deadline); + "deadline", deadline, + "all_day", allDay); } /** diff --git a/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java b/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java index 85ff5a547..be46f3ef5 100644 --- a/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java +++ b/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java @@ -519,7 +519,7 @@ public class ProducteevSyncProvider extends SyncProvider