feat: add logging to api endpoint
This commit is contained in:
1 parent
207b648f36
commit
465ce3e69a
1 file changed
+4
@@ -61,6 +61,10 @@ class PickupController extends AbstractController
|
||||
return $this->json(['error' => 'Travel code not found'], Response::HTTP_NOT_FOUND);
|
||||
}
|
||||
|
||||
$this->logger->info('Fetched pickups planning data', [
|
||||
'travelCode' => $travelCode,
|
||||
]);
|
||||
|
||||
return $this->json($planning[$travelCode]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user