fix amount 9
This commit is contained in:
@@ -248,9 +248,14 @@ class AssetSummaryService
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$file = $product->file->toArray();
|
$fileModel = $product->file;
|
||||||
$file['full_src'] = $product->file->src ?? null;
|
$src = (string) ($fileModel->src ?? '');
|
||||||
|
|
||||||
return $file;
|
return [
|
||||||
|
'id' => $fileModel->id,
|
||||||
|
'src' => $src,
|
||||||
|
'full_src' => $src,
|
||||||
|
'url' => $fileModel->url ?? null,
|
||||||
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user