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 @@ -270,9 +270,9 @@ instance ToJSON (MessageContent 'Discord) where
270
270
buildWebhookRequest :: NotificationWebhookId -> URI -> NotificationEvent NotificationEventId UnifiedDisplayInfo UTCTime HydratedEventPayload -> WebhookEventPayload JWTParam -> Background (Either WebhookSendFailure HTTPClient. Request )
271
271
buildWebhookRequest webhookId uri event defaultPayload = do
272
272
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
276
276
where
277
277
isSlackWebhook :: URI -> Bool
278
278
isSlackWebhook uri =
You can’t perform that action at this time.
0 commit comments