Skip to content

Commit a8861b2

Browse files
authored
fix: load only missing logs (#2570)
1 parent f067969 commit a8861b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/MailatorSchedule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public function logs(): HasMany
347347
public function shouldSend(): bool
348348
{
349349
try {
350-
$this->load('logs');
350+
$this->loadMissing('logs');
351351

352352
if (! $this->configurationsPasses()) {
353353
return false;

0 commit comments

Comments
 (0)