diff --git a/src/Http/Controllers/ImportController.php b/src/Http/Controllers/ImportController.php index 869ee8e..b41b745 100644 --- a/src/Http/Controllers/ImportController.php +++ b/src/Http/Controllers/ImportController.php @@ -172,7 +172,7 @@ public function update(Request $request, Import $import) 'path' => $path, 'destination' => collect($values['destination'])->filter()->all(), 'strategy' => $values['strategy'], - 'source' => $values['source'], + 'source' => $values['source'] ?? null, 'mappings' => $values['mappings'], 'unique_field' => $values['unique_field'], ]));