Skip to content

Commit c63c691

Browse files
arsdehneljdalrymple
authored andcommitted
fix: Epic issues HTTP methods are incorrect
1 parent 7cae7c1 commit c63c691

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/services/EpicIssues.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ class EpicIssues extends BaseService {
1717
assign(groupId: GroupId, epicId: EpicId, issueId: IssueId, options?: Sudo) {
1818
const [gId, eId, iId] = [groupId, epicId, issueId].map(encodeURIComponent);
1919

20-
return RequestHelper.put(this, `groups/${gId}/epics/${eId}/issues/${iId}`, options);
20+
return RequestHelper.post(this, `groups/${gId}/epics/${eId}/issues/${iId}`, options);
2121
}
2222

2323
edit(groupId: GroupId, epicId: EpicId, issueId: IssueId, options?: BaseRequestOptions) {
2424
const [gId, eId, iId] = [groupId, epicId, issueId].map(encodeURIComponent);
2525

26-
return RequestHelper.del(this, `groups/${gId}/epics/${eId}/issues/${iId}`, options);
26+
return RequestHelper.put(this, `groups/${gId}/epics/${eId}/issues/${iId}`, options);
2727
}
2828

2929
remove(groupId: GroupId, epicId: EpicId, issueId: IssueId, options?: Sudo) {

0 commit comments

Comments
 (0)