Skip to content

Commit

Permalink
Fix error when saving XML import (#39)
Browse files Browse the repository at this point in the history
* Fix error when saving XML import

* Fix styling

* Revert "Fix styling"

This reverts commit 9994e47.

---------

Co-authored-by: duncanmcclean <[email protected]>
  • Loading branch information
duncanmcclean and duncanmcclean authored Nov 21, 2024
1 parent 8db653e commit bfd2680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/ImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
]));
Expand Down

0 comments on commit bfd2680

Please sign in to comment.