diff --git a/src/console/controllers/ExportController.php b/src/console/controllers/ExportController.php index c4b6285..de666e2 100644 --- a/src/console/controllers/ExportController.php +++ b/src/console/controllers/ExportController.php @@ -44,7 +44,7 @@ public function actionDebug($id): bool $fields = $export->getHeadings(); $data[] = array_merge($attributes, $fields); - foreach ($query->id(14263)->limit(1)->all() as $element) { + foreach ($query->limit(1)->all() as $element) { d($element->id); $values = $element->toArray(array_keys($export->getAttributes())); // Convert values to strings