Skip to content

Commit 914cec4

Browse files
committed
fix sync
1 parent c64f827 commit 914cec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Actions/SyncBlocksAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function execute(Collection $blocks): array
5050

5151
$changes['created'][] = $block->getKey();
5252
} else {
53-
$model = $models->find($block)->first();
53+
$model = $models->find($block->getKey());
5454

5555
$model->setRawAttributes(
5656
array_merge(

0 commit comments

Comments
 (0)