File tree 1 file changed +3
-3
lines changed
src/Share/BackgroundJobs/Webhooks
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -266,9 +266,9 @@ instance ToJSON (MessageContent 'Discord) where
266
266
buildWebhookRequest :: NotificationWebhookId -> URI -> NotificationEvent NotificationEventId UnifiedDisplayInfo UTCTime HydratedEventPayload -> WebhookEventPayload JWTParam -> Background (Either WebhookSendFailure HTTPClient. Request )
267
267
buildWebhookRequest webhookId uri event defaultPayload = do
268
268
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
272
272
where
273
273
isSlackWebhook :: URI -> Bool
274
274
isSlackWebhook uri =
You can’t perform that action at this time.
0 commit comments