fix: adopt changed export api url
This commit is contained in:
1 parent
db529d2dc9
commit
d8ff148f86
4 files changed
+6
-3
No files matched your search
@@ -66,7 +66,7 @@ class MyEpCheckCommand extends Command
|
||||
|
||||
// A whole page rather than one row: the first row often has no boarding points, and an
|
||||
// unread pickups array is exactly the failure this probe exists to catch.
|
||||
$payload = $this->apiClient->get('api/travels/export', ['page' => 1, 'perPage' => 500]);
|
||||
$payload = $this->apiClient->get('api/exports/travels', ['page' => 1, 'perPage' => 500]);
|
||||
$meta = $payload['meta'] ?? [];
|
||||
|
||||
$io->definitionList(...array_map(
|
||||
|
||||
@@ -11,7 +11,7 @@ use Psr\Log\LoggerInterface;
|
||||
*/
|
||||
class TravelExportClient
|
||||
{
|
||||
private const PATH = 'api/travels/export';
|
||||
private const PATH = 'api/exports/travels';
|
||||
private const PER_PAGE = 500;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user