Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from johncarter-/patch-1
Browse files Browse the repository at this point in the history
Fixes blueprint duplication
  • Loading branch information
Duncan McClean authored Jun 8, 2020
2 parents 9beca78 + 0d75e4a commit 513f374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DuplicateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function run($items, $values)
if ($item instanceof AnEntry) {
Entry::make()
->collection($item->collection())
->blueprint($item->blueprint())
->blueprint($item->blueprint()->handle())
->locale($item->locale())
->published($item->published())
->slug($item->slug().'-duplicate')
Expand Down

0 comments on commit 513f374

Please sign in to comment.