Browse files

githubapi: Implement CommentDeletedEvent.

It doesn't seem to be available anywhere yet, but at least we have a
name. It should start working once they finish support for it.

  • Loading branch information...
dmitshur committed Nov 8, 2017
1 parent ffedb4e commit e60451465bdabaecc6b6d94f6b10605fdfe2d9a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 githubapi/githubapi.go
@@ -904,7 +904,7 @@ func ghEventType(typename string) issues.EventType {
return issues.Labeled
case "UnlabeledEvent":
return issues.Unlabeled
case "???": // TODO: Wait for GitHub to add support.
case "CommentDeletedEvent":
return issues.CommentDeleted
return issues.EventType(typename)

0 comments on commit e604514

Please sign in to comment.