File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
## Main
16
16
17
17
<!-- Your comment below this -->
18
+ - Add dangerID to gitlab createComment api #1395 [ @glensc ]
18
19
<!-- Your comment above this -->
19
20
20
21
## 11.2.7
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ class GitLab implements Platform {
114
114
newOrUpdatedNote = await this . api . updateMergeRequestNote ( existingNote . id , newComment )
115
115
} else {
116
116
// create a new comment
117
- newOrUpdatedNote = await this . createComment ( newComment )
117
+ newOrUpdatedNote = await this . createComment ( dangerID , newComment )
118
118
}
119
119
120
120
// create URL from note
@@ -145,7 +145,7 @@ class GitLab implements Platform {
145
145
}
146
146
}
147
147
148
- createComment = async ( comment : string ) : Promise < GitLabNote > => {
148
+ createComment = async ( _dangerID : string , comment : string ) : Promise < GitLabNote > => {
149
149
d ( "createComment" , { comment } )
150
150
if ( useThreads ( ) ) {
151
151
return ( await this . api . createMergeRequestDiscussion ( comment ) ) . notes [ 0 ]
You can’t perform that action at this time.
0 commit comments