feat: add logging to api endpoint
This commit is contained in:
1 parent
ef75383885
commit
073bbdc0f8
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