Skip to content

Commit

Permalink
quick clean bug 🧼
Browse files Browse the repository at this point in the history
  • Loading branch information
inikoo committed Oct 7, 2023
1 parent 5a61888 commit 2dce55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Actions/Portfolio/Banner/PublishBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function handle(Banner $banner, array $modelData): Banner
}

$layout = Arr::pull($modelData, 'layout');
list($layout, $slides, $hash) = ParseBannerLayout::run($layout);
list($layout, $slides) = ParseBannerLayout::run($layout);

/** @var Snapshot $snapshot */
$snapshot = StoreBannerSnapshot::run(
Expand All @@ -67,7 +67,7 @@ public function handle(Banner $banner, array $modelData): Banner
'live_snapshot_id' => $snapshot->id,
'compiled_layout' => $compiledLayout,
'state' => BannerStateEnum::LIVE,
'checksum' => $hash
// 'checksum' => $hash
];

if ($banner->state == BannerStateEnum::UNPUBLISHED) {
Expand Down

0 comments on commit 2dce55e

Please sign in to comment.