Skip to content

Commit 63c0b48

Browse files
committed
wip
1 parent 948bad1 commit 63c0b48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/EmbedProcessor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public function __invoke(DocumentParsedEvent $event): void
5555
}
5656
}
5757

58-
$this->adapter->updateEmbeds($embeds);
58+
if (! empty($embeds)) {
59+
$this->adapter->updateEmbeds($embeds);
60+
}
5961

6062
foreach ($embeds as $embed) {
6163
if ($embed->getEmbedCode() !== null) {

0 commit comments

Comments
 (0)