Adjust the import controller to return a url to the process path to enable processing an uploaded file without refresh. (#4080)
This commit is contained in:
@@ -29,7 +29,7 @@ class ImportsTransformer
|
||||
'header_row' => $import->header_row,
|
||||
'first_row' => $import->first_row,
|
||||
'field_map' => $import->field_map,
|
||||
|
||||
'process_url'=> route('api.imports.importFile', $import->id),
|
||||
];
|
||||
|
||||
return $array;
|
||||
|
||||
Reference in New Issue
Block a user