master
Rustem 2025-06-12 20:46:56 +05:00
parent 6c5b7f56df
commit e0f426ce54
1 changed files with 0 additions and 3 deletions

View File

@ -324,9 +324,6 @@ class MobileApiController extends Controller
$colorPath = $path;
if ($carsOfColor->first()->photo_id) {
$photo = UniModel::model('core_files')->find($carsOfColor->first()->photo_id);
if (is_null($photo)) {
dd($carsOfColor);
}
$colorPath = url('api/files/file/' . ltrim($photo->path, '/'));
}