parent
dbc4699042
commit
d56ba2ed94
|
@ -88,7 +88,7 @@ class ImportsourceCommand extends Command
|
|||
$hook = ImportSourceHook::forImportSource($source);
|
||||
Benchmark::measure('Ready to fetch data');
|
||||
$data = $hook->fetchData();
|
||||
$source->applyModifiers($this);
|
||||
$source->applyModifiers($data);
|
||||
Benchmark::measure(sprintf('Got %d rows, ready to dump JSON', count($data)));
|
||||
echo json_encode($data, JSON_PRETTY_PRINT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue