Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Casmo committed May 15, 2024
1 parent 100583d commit c080d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Embeddable.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function queueMakeEmbeddable($models)
}

if (! config('embeddings.queue')) {
return $models->first()->makeEmbeddableUsing($models)->first()->makeEmbeddableUsing()->update($models);
return $models->first()->makeEmbeddableUsing($models)->first()->embeddableUsing()->update($models);
}

dispatch((new Embed::$makeEmbeddableJob($models))
Expand Down

0 comments on commit c080d16

Please sign in to comment.