Skip to content

Commit 9084883

Browse files
Fix RepoWebhookEvent ToJSON instance indentation
1 parent 82a223c commit 9084883

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

src/GitHub/Data/Webhooks.hs

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -182,55 +182,55 @@ instance FromJSON RepoWebhookEvent where
182182
parseJSON _ = fail "Could not build a Webhook event"
183183

184184
instance ToJSON RepoWebhookEvent where
185-
toJSON WebhookWildcardEvent = String "*"
186-
toJSON WebhookCheckRunEvent = String "check_run"
187-
toJSON WebhookCheckSuiteEvent = String "check_suite"
188-
toJSON WebhookCommitCommentEvent = String "commit_comment"
189-
toJSON WebhookContentReferenceEvent = String "content_reference"
190-
toJSON WebhookCreateEvent = String "create"
191-
toJSON WebhookDeleteEvent = String "delete"
192-
toJSON WebhookDeployKeyEvent = String "deploy_key"
193-
toJSON WebhookDeploymentEvent = String "deployment"
194-
toJSON WebhookDeploymentStatusEvent = String "deployment_status"
195-
toJSON WebhookDownloadEvent = String "download"
196-
toJSON WebhookFollowEvent = String "follow"
197-
toJSON WebhookForkEvent = String "fork"
198-
toJSON WebhookForkApplyEvent = String "fork_apply"
199-
toJSON WebhookGitHubAppAuthorizationEvent = String "github_app_authorization"
200-
toJSON WebhookGistEvent = String "gist"
201-
toJSON WebhookGollumEvent = String "gollum"
202-
toJSON WebhookInstallationEvent = String "installation"
203-
toJSON WebhookInstallationRepositoriesEvent = String "installation_repositories"
204-
toJSON WebhookIssueCommentEvent = String "issue_comment"
205-
toJSON WebhookIssuesEvent = String "issues"
206-
toJSON WebhookLabelEvent = String "label"
207-
toJSON WebhookMarketplacePurchaseEvent = String "marketplace_purchase"
208-
toJSON WebhookMemberEvent = String "member"
209-
toJSON WebhookMembershipEvent = String "membership"
210-
toJSON WebhookMetaEvent = String "meta"
211-
toJSON WebhookMilestoneEvent = String "milestone"
212-
toJSON WebhookOrganizationEvent = String "organization"
213-
toJSON WebhookOrgBlockEvent = String "org_block"
214-
toJSON WebhookPageBuildEvent = String "page_build"
215-
toJSON WebhookPingEvent = String "ping"
216-
toJSON WebhookProjectCardEvent = String "project_card"
217-
toJSON WebhookProjectColumnEvent = String "project_column"
218-
toJSON WebhookProjectEvent = String "project"
219-
toJSON WebhookPublicEvent = String "public"
220-
toJSON WebhookPullRequestEvent = String "pull_request"
221-
toJSON WebhookPullRequestReviewEvent = String "pull_request_review"
222-
toJSON WebhookPullRequestReviewCommentEvent = String "pull_request_review_comment"
223-
toJSON WebhookPushEvent = String "push"
224-
toJSON WebhookReleaseEvent = String "release"
225-
toJSON WebhookRepositoryEvent = String "repository"
226-
toJSON WebhookRepositoryImportEvent = String "repository_import"
185+
toJSON WebhookWildcardEvent = String "*"
186+
toJSON WebhookCheckRunEvent = String "check_run"
187+
toJSON WebhookCheckSuiteEvent = String "check_suite"
188+
toJSON WebhookCommitCommentEvent = String "commit_comment"
189+
toJSON WebhookContentReferenceEvent = String "content_reference"
190+
toJSON WebhookCreateEvent = String "create"
191+
toJSON WebhookDeleteEvent = String "delete"
192+
toJSON WebhookDeployKeyEvent = String "deploy_key"
193+
toJSON WebhookDeploymentEvent = String "deployment"
194+
toJSON WebhookDeploymentStatusEvent = String "deployment_status"
195+
toJSON WebhookDownloadEvent = String "download"
196+
toJSON WebhookFollowEvent = String "follow"
197+
toJSON WebhookForkEvent = String "fork"
198+
toJSON WebhookForkApplyEvent = String "fork_apply"
199+
toJSON WebhookGitHubAppAuthorizationEvent = String "github_app_authorization"
200+
toJSON WebhookGistEvent = String "gist"
201+
toJSON WebhookGollumEvent = String "gollum"
202+
toJSON WebhookInstallationEvent = String "installation"
203+
toJSON WebhookInstallationRepositoriesEvent = String "installation_repositories"
204+
toJSON WebhookIssueCommentEvent = String "issue_comment"
205+
toJSON WebhookIssuesEvent = String "issues"
206+
toJSON WebhookLabelEvent = String "label"
207+
toJSON WebhookMarketplacePurchaseEvent = String "marketplace_purchase"
208+
toJSON WebhookMemberEvent = String "member"
209+
toJSON WebhookMembershipEvent = String "membership"
210+
toJSON WebhookMetaEvent = String "meta"
211+
toJSON WebhookMilestoneEvent = String "milestone"
212+
toJSON WebhookOrganizationEvent = String "organization"
213+
toJSON WebhookOrgBlockEvent = String "org_block"
214+
toJSON WebhookPageBuildEvent = String "page_build"
215+
toJSON WebhookPingEvent = String "ping"
216+
toJSON WebhookProjectCardEvent = String "project_card"
217+
toJSON WebhookProjectColumnEvent = String "project_column"
218+
toJSON WebhookProjectEvent = String "project"
219+
toJSON WebhookPublicEvent = String "public"
220+
toJSON WebhookPullRequestEvent = String "pull_request"
221+
toJSON WebhookPullRequestReviewEvent = String "pull_request_review"
222+
toJSON WebhookPullRequestReviewCommentEvent = String "pull_request_review_comment"
223+
toJSON WebhookPushEvent = String "push"
224+
toJSON WebhookReleaseEvent = String "release"
225+
toJSON WebhookRepositoryEvent = String "repository"
226+
toJSON WebhookRepositoryImportEvent = String "repository_import"
227227
toJSON WebhookRepositoryVulnerabilityAlertEvent = String "repository_vulnerability_alert"
228-
toJSON WebhookSecurityAdvisoryEvent = String "security_advisory"
229-
toJSON WebhookStarEvent = String "star"
230-
toJSON WebhookStatusEvent = String "status"
231-
toJSON WebhookTeamEvent = String "team"
232-
toJSON WebhookTeamAddEvent = String "team_add"
233-
toJSON WebhookWatchEvent = String "watch"
228+
toJSON WebhookSecurityAdvisoryEvent = String "security_advisory"
229+
toJSON WebhookStarEvent = String "star"
230+
toJSON WebhookStatusEvent = String "status"
231+
toJSON WebhookTeamEvent = String "team"
232+
toJSON WebhookTeamAddEvent = String "team_add"
233+
toJSON WebhookWatchEvent = String "watch"
234234

235235
instance FromJSON RepoWebhook where
236236
parseJSON = withObject "RepoWebhook" $ \o -> RepoWebhook

0 commit comments

Comments
 (0)