mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-01 19:00:37 +08:00
Update email_notification.ts
This commit is contained in:
parent
e1e39f8836
commit
41e094032f
@ -273,7 +273,7 @@ export async function sendNotificationWithCustomDays(
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (process.env.SLACK_ADMIN_WEBHOOK_URL && emails.length > 0) {
|
if (process.env.SLACK_ADMIN_WEBHOOK_URL && emails.length > 0 && notificationType !== NotificationType.CONCURRENCY_LIMIT_REACHED) {
|
||||||
sendSlackWebhook(
|
sendSlackWebhook(
|
||||||
`${getNotificationString(notificationType)}: Team ${team_id}, with email ${emails[0].email}.`,
|
`${getNotificationString(notificationType)}: Team ${team_id}, with email ${emails[0].email}.`,
|
||||||
false,
|
false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user