Skip to content

Commit 868420c

Browse files
ChrisPennergithub-actions[bot]
authored andcommitted
automatically run ormolu
1 parent b4c6ea2 commit 868420c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Share/BackgroundJobs/Webhooks/Worker.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ instance ToJSON (MessageContent 'Discord) where
266266
buildWebhookRequest :: NotificationWebhookId -> URI -> NotificationEvent NotificationEventId UnifiedDisplayInfo UTCTime HydratedEventPayload -> WebhookEventPayload JWTParam -> Background (Either WebhookSendFailure HTTPClient.Request)
267267
buildWebhookRequest webhookId uri event defaultPayload = do
268268
if
269-
| isSlackWebhook uri -> buildChatAppPayload (Proxy @Slack) uri
270-
| isDiscordWebhook uri -> buildChatAppPayload (Proxy @Discord) uri
271-
| otherwise -> pure $ buildDefaultPayload
269+
| isSlackWebhook uri -> buildChatAppPayload (Proxy @Slack) uri
270+
| isDiscordWebhook uri -> buildChatAppPayload (Proxy @Discord) uri
271+
| otherwise -> pure $ buildDefaultPayload
272272
where
273273
isSlackWebhook :: URI -> Bool
274274
isSlackWebhook uri =

0 commit comments

Comments
 (0)