fix(seeder): update catalog path to reflect new directory structure
This commit is contained in:
@@ -81,7 +81,7 @@ class ProductCatalogFromImagesSeeder extends Seeder
|
|||||||
throw new RuntimeException("Tenant 'sonder' not found.");
|
throw new RuntimeException("Tenant 'sonder' not found.");
|
||||||
}
|
}
|
||||||
|
|
||||||
$catalogPath = public_path('images/catalog');
|
$catalogPath = public_path('images/tennants/fiesta_futbol_infantil/catalog');
|
||||||
|
|
||||||
if (! is_dir($catalogPath)) {
|
if (! is_dir($catalogPath)) {
|
||||||
throw new RuntimeException("Catalog directory not found at path: {$catalogPath}");
|
throw new RuntimeException("Catalog directory not found at path: {$catalogPath}");
|
||||||
|
|||||||
Reference in New Issue
Block a user