File tree 4 files changed +5
-3
lines changed 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1241,7 +1241,7 @@ class GitLabClient {
1241
1241
try {
1242
1242
const { namespace, project, id } = this.extractMergeRequestData(mrUrl);
1243
1243
const projectId = this.getProjectId(namespace, project);
1244
- const { data } = await this.client.post(`/projects/${projectId}/issues /${id}/notes`, {
1244
+ const { data } = await this.client.post(`/projects/${projectId}/merge_requests /${id}/notes`, {
1245
1245
body: comment,
1246
1246
});
1247
1247
if (!data) {
Original file line number Diff line number Diff line change @@ -1206,7 +1206,7 @@ class GitLabClient {
1206
1206
try {
1207
1207
const { namespace, project, id } = this.extractMergeRequestData(mrUrl);
1208
1208
const projectId = this.getProjectId(namespace, project);
1209
- const { data } = await this.client.post(`/projects/${projectId}/issues /${id}/notes`, {
1209
+ const { data } = await this.client.post(`/projects/${projectId}/merge_requests /${id}/notes`, {
1210
1210
body: comment,
1211
1211
});
1212
1212
if (!data) {
Original file line number Diff line number Diff line change
1
+ [tools ]
2
+ node = " 20"
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ export default class GitLabClient implements GitClient {
169
169
const { namespace, project, id } = this . extractMergeRequestData ( mrUrl ) ;
170
170
const projectId = this . getProjectId ( namespace , project ) ;
171
171
172
- const { data } = await this . client . post ( `/projects/${ projectId } /issues /${ id } /notes` , {
172
+ const { data } = await this . client . post ( `/projects/${ projectId } /merge_requests /${ id } /notes` , {
173
173
body : comment ,
174
174
} ) ;
175
175
You can’t perform that action at this time.
0 commit comments