From 2dce55ebfd72c423be606f51b086b1f4e6ee4aa9 Mon Sep 17 00:00:00 2001 From: Raul Perusquia Date: Sat, 7 Oct 2023 10:27:27 +0800 Subject: [PATCH] =?UTF-8?q?quick=20clean=20bug=20=F0=9F=A7=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Actions/Portfolio/Banner/PublishBanner.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Actions/Portfolio/Banner/PublishBanner.php b/app/Actions/Portfolio/Banner/PublishBanner.php index f59101eac..0d5cc217a 100644 --- a/app/Actions/Portfolio/Banner/PublishBanner.php +++ b/app/Actions/Portfolio/Banner/PublishBanner.php @@ -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( @@ -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) {