From 3fab97e7e5d398f36194d9903019888528e03569 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sun, 9 Aug 2026 15:08:00 +0700 Subject: [PATCH] fix: correct array conversion in getForCutting method of RawMaterialVariantService --- .../Admin/Master/RawMaterial/RawMaterialVariantService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/Admin/Master/RawMaterial/RawMaterialVariantService.php b/app/Services/Admin/Master/RawMaterial/RawMaterialVariantService.php index 8a891d2..e49d507 100644 --- a/app/Services/Admin/Master/RawMaterial/RawMaterialVariantService.php +++ b/app/Services/Admin/Master/RawMaterial/RawMaterialVariantService.php @@ -35,7 +35,8 @@ public function getForCutting(): array ? $this->s3Service->getTemporaryUrl($media->file_name) : null; }); - }); + }) + ->toArray(); } public function getForEdit(RawMaterialPrice $variant): array