@@ -250,7 +250,7 @@ public boolean updateGroupTask(Task task) {
250250 JSONObject requestJSON = new JSONObject ();
251251 requestJSON .put ("data" , task .toJSONObject ());
252252
253- ConnAPI connAPI = new ConnAPI ("/api/tasks/group/updateOne" , "PUT" , true );
253+ ConnAPI connAPI = new ConnAPI ("/api/tasks/group/updateOne" , "PUT" , false );
254254 connAPI .setData (requestJSON );
255255 connAPI .establishConn ();
256256
@@ -292,7 +292,7 @@ public boolean markTaskAsFinished(Task task) {
292292 JSONObject requestJSON = new JSONObject ();
293293 requestJSON .put ("id" , task .getIdTask ());
294294
295- ConnAPI connAPI = new ConnAPI ("/api/tasks/finishTask" , "PUT" , true );
295+ ConnAPI connAPI = new ConnAPI ("/api/tasks/finishTask" , "PUT" , false );
296296 connAPI .setData (requestJSON );
297297 connAPI .establishConn ();
298298
@@ -305,7 +305,7 @@ public boolean markTaskAsUnfinished(Task task) {
305305 JSONObject requestJSON = new JSONObject ();
306306 requestJSON .put ("id" , task .getIdTask ());
307307
308- ConnAPI connAPI = new ConnAPI ("/api/tasks/unfinishTask" , "PUT" , true );
308+ ConnAPI connAPI = new ConnAPI ("/api/tasks/unfinishTask" , "PUT" , false );
309309 connAPI .setData (requestJSON );
310310 connAPI .establishConn ();
311311
@@ -318,7 +318,7 @@ public boolean markGroupTaskAsFinished(Task task) {
318318 JSONObject requestJSON = new JSONObject ();
319319 requestJSON .put ("id" , task .getIdTask ());
320320
321- ConnAPI connAPI = new ConnAPI ("/api/tasks/group/finishTask" , "PUT" , true );
321+ ConnAPI connAPI = new ConnAPI ("/api/tasks/group/finishTask" , "PUT" , false );
322322 connAPI .setData (requestJSON );
323323 connAPI .establishConn ();
324324
@@ -330,7 +330,7 @@ public boolean markGroupTaskAsUnfinished(Task task) {
330330 JSONObject requestJSON = new JSONObject ();
331331 requestJSON .put ("id" , task .getIdTask ());
332332
333- ConnAPI connAPI = new ConnAPI ("/api/tasks/group/unfinishTask" , "PUT" , true );
333+ ConnAPI connAPI = new ConnAPI ("/api/tasks/group/unfinishTask" , "PUT" , false );
334334 connAPI .setData (requestJSON );
335335 connAPI .establishConn ();
336336
0 commit comments