mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-04 04:24:26 +00:00
🤖 Auto commit for release 'develop' on 2025-05-04
This commit is contained in:
@@ -42,7 +42,7 @@ class WebhookEventHandler
|
||||
$messages = WebhookMessage::where('webhook_messages.sent', false)
|
||||
->get(['webhook_messages.*'])
|
||||
->filter(
|
||||
static fn(WebhookMessage $message) => $message->webhookAttempts()->count() <= 2
|
||||
static fn (WebhookMessage $message) => $message->webhookAttempts()->count() <= 2
|
||||
)->splice(0, 5)
|
||||
;
|
||||
app('log')->debug(sprintf('Found %d webhook message(s) ready to be send.', $messages->count()));
|
||||
|
||||
Reference in New Issue
Block a user