@@ -250,7 +250,7 @@ public boolean updateGroupTask(Task task) {
250
250
JSONObject requestJSON = new JSONObject ();
251
251
requestJSON .put ("data" , task .toJSONObject ());
252
252
253
- ConnAPI connAPI = new ConnAPI ("/api/tasks/group/updateOne" , "PUT" , true );
253
+ ConnAPI connAPI = new ConnAPI ("/api/tasks/group/updateOne" , "PUT" , false );
254
254
connAPI .setData (requestJSON );
255
255
connAPI .establishConn ();
256
256
@@ -292,7 +292,7 @@ public boolean markTaskAsFinished(Task task) {
292
292
JSONObject requestJSON = new JSONObject ();
293
293
requestJSON .put ("id" , task .getIdTask ());
294
294
295
- ConnAPI connAPI = new ConnAPI ("/api/tasks/finishTask" , "PUT" , true );
295
+ ConnAPI connAPI = new ConnAPI ("/api/tasks/finishTask" , "PUT" , false );
296
296
connAPI .setData (requestJSON );
297
297
connAPI .establishConn ();
298
298
@@ -305,7 +305,7 @@ public boolean markTaskAsUnfinished(Task task) {
305
305
JSONObject requestJSON = new JSONObject ();
306
306
requestJSON .put ("id" , task .getIdTask ());
307
307
308
- ConnAPI connAPI = new ConnAPI ("/api/tasks/unfinishTask" , "PUT" , true );
308
+ ConnAPI connAPI = new ConnAPI ("/api/tasks/unfinishTask" , "PUT" , false );
309
309
connAPI .setData (requestJSON );
310
310
connAPI .establishConn ();
311
311
@@ -318,7 +318,7 @@ public boolean markGroupTaskAsFinished(Task task) {
318
318
JSONObject requestJSON = new JSONObject ();
319
319
requestJSON .put ("id" , task .getIdTask ());
320
320
321
- ConnAPI connAPI = new ConnAPI ("/api/tasks/group/finishTask" , "PUT" , true );
321
+ ConnAPI connAPI = new ConnAPI ("/api/tasks/group/finishTask" , "PUT" , false );
322
322
connAPI .setData (requestJSON );
323
323
connAPI .establishConn ();
324
324
@@ -330,7 +330,7 @@ public boolean markGroupTaskAsUnfinished(Task task) {
330
330
JSONObject requestJSON = new JSONObject ();
331
331
requestJSON .put ("id" , task .getIdTask ());
332
332
333
- ConnAPI connAPI = new ConnAPI ("/api/tasks/group/unfinishTask" , "PUT" , true );
333
+ ConnAPI connAPI = new ConnAPI ("/api/tasks/group/unfinishTask" , "PUT" , false );
334
334
connAPI .setData (requestJSON );
335
335
connAPI .establishConn ();
336
336
0 commit comments