Skip to content

Commit

Permalink
#25 create_commit_comment more
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 16, 2024
1 parent 1cd26be commit 1ca10dc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/fbe/octo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,14 @@ def add_comment(_repo, _issue, _text)
}
end

def create_commit_comment(_repo, _sha, _text)
def create_commit_comment(_repo, sha, text)
{
id: 42
commit_id: sha,
id: 42,
body: text,
path: 'something.txt',
line: 1,
position: 1
}
end

Expand Down

0 comments on commit 1ca10dc

Please sign in to comment.