@@ -258,7 +258,7 @@ public Epic updateEpic(Object groupIdOrPath, Integer epicIid, String title, Stri
258
258
.withParam ("description" , description )
259
259
.withParam ("start_date" , startDate )
260
260
.withParam ("end_date" , endDate );
261
- Response response = put (Response .Status .CREATED , formData .asMap (),
261
+ Response response = put (Response .Status .OK , formData .asMap (),
262
262
"groups" , getGroupIdOrPath (groupIdOrPath ), "epics" , epicIid );
263
263
return (response .readEntity (Epic .class ));
264
264
}
@@ -288,7 +288,7 @@ public Epic updateEpic(Object groupIdOrPath, Integer epicIid, Epic epic) throws
288
288
.withParam ("description" , epic .getDescription ())
289
289
.withParam ("start_date" , epic .getStartDate ())
290
290
.withParam ("end_date" , epic .getEndDate ());
291
- Response response = put (Response .Status .CREATED , formData .asMap (),
291
+ Response response = put (Response .Status .OK , formData .asMap (),
292
292
"groups" , getGroupIdOrPath (groupIdOrPath ), "epics" , epicIid );
293
293
return (response .readEntity (Epic .class ));
294
294
}
@@ -384,7 +384,7 @@ public EpicIssue assignIssue(Object groupIdOrPath, Integer epicIid, Integer issu
384
384
* @throws GitLabApiException if any exception occurs
385
385
*/
386
386
public EpicIssue removeIssue (Object groupIdOrPath , Integer epicIid , Integer issueIid ) throws GitLabApiException {
387
- Response response = delete (Response .Status .CREATED , null ,
387
+ Response response = delete (Response .Status .OK , null ,
388
388
"groups" , getGroupIdOrPath (groupIdOrPath ), "epics" , epicIid , "issues" , issueIid );
389
389
return (response .readEntity (EpicIssue .class ));
390
390
}
@@ -406,7 +406,7 @@ public EpicIssue updateIssue(Object groupIdOrPath, Integer epicIid, Integer issu
406
406
GitLabApiForm form = new GitLabApiForm ()
407
407
.withParam ("move_before_id" , moveBeforeId )
408
408
.withParam ("move_after_id" , moveAfterId );
409
- Response response = post (Response .Status .CREATED , form ,
409
+ Response response = post (Response .Status .OK , form ,
410
410
"groups" , getGroupIdOrPath (groupIdOrPath ), "epics" , epicIid , "issues" , issueIid );
411
411
return (response .readEntity (EpicIssue .class ));
412
412
}
0 commit comments