Skip to content

Commit 744d56d

Browse files
ChrisPennergithub-actions[bot]
authored andcommitted
automatically run ormolu
1 parent 0893126 commit 744d56d

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
@@ -270,9 +270,9 @@ instance ToJSON (MessageContent 'Discord) where
270270
buildWebhookRequest :: NotificationWebhookId -> URI -> NotificationEvent NotificationEventId UnifiedDisplayInfo UTCTime HydratedEventPayload -> WebhookEventPayload JWTParam -> Background (Either WebhookSendFailure HTTPClient.Request)
271271
buildWebhookRequest webhookId uri event defaultPayload = do
272272
if
273-
| isSlackWebhook uri -> buildChatAppPayload (Proxy @Slack) uri
274-
| isDiscordWebhook uri -> buildChatAppPayload (Proxy @Discord) uri
275-
| otherwise -> pure $ buildDefaultPayload
273+
| isSlackWebhook uri -> buildChatAppPayload (Proxy @Slack) uri
274+
| isDiscordWebhook uri -> buildChatAppPayload (Proxy @Discord) uri
275+
| otherwise -> pure $ buildDefaultPayload
276276
where
277277
isSlackWebhook :: URI -> Bool
278278
isSlackWebhook uri =

0 commit comments

Comments
 (0)