Skip to content

Commit

Permalink
fix: add comment endpoint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeolun committed Feb 5, 2024
1 parent e773e1f commit 7dd041d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions lib/jira.js
Original file line number Diff line number Diff line change
Expand Up @@ -1207,9 +1207,7 @@ var JiraApi = /** @class */ (function () {
return this.doRequest(this.makeRequestHeader(this.makeUri({
pathname: "/issue/" + issueId + "/comment"
}), {
data: {
data: comment
},
data: comment,
method: 'POST'
}));
};
Expand Down
4 changes: 1 addition & 3 deletions src/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1587,9 +1587,7 @@ export default class JiraApi {
pathname: `/issue/${issueId}/comment`,
}),
{
data: {
data: comment,
},
data: comment,
method: 'POST',

}
Expand Down

0 comments on commit 7dd041d

Please sign in to comment.