Skip to content

Commit

Permalink
Merge pull request #26 from is2ei/update-go-github-version
Browse files Browse the repository at this point in the history
Use int64 for DeleteComment
  • Loading branch information
b4b4r07 authored Jan 8, 2019
2 parents f180309 + c516ff9 commit 1ed5ff1
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 24 deletions.
102 changes: 79 additions & 23 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion notifier/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (g *GitHub) IssuesCreateComment(ctx context.Context, number int, comment *g

// IssuesDeleteComment is a wrapper of https://godoc.org/github.com/google/go-github/github#IssuesService.DeleteComment
func (g *GitHub) IssuesDeleteComment(ctx context.Context, commentID int64) (*github.Response, error) {
return g.Client.Issues.DeleteComment(ctx, g.owner, g.repo, int(commentID))
return g.Client.Issues.DeleteComment(ctx, g.owner, g.repo, int64(commentID))
}

// IssuesListComments is a wrapper of https://godoc.org/github.com/google/go-github/github#IssuesService.ListComments
Expand Down

0 comments on commit 1ed5ff1

Please sign in to comment.