Skip to content

Commit 3abc45a

Browse files
RafaelGSSaduh95
andauthored
Apply suggestion from @aduh95
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 6c48c23 commit 3abc45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default class Request {
8282
}
8383

8484
async commentIssue(fullUrl, comment) {
85-
let commentUrl = fullUrl.replace('https://github.com/', 'https://api.github.com/repos/');
85+
const commentUrl = fullUrl.replace('https://github.com/', 'https://api.github.com/repos/') +
8686
'/comments';
8787
const options = {
8888
method: 'POST',

0 commit comments

Comments
 (0)