Skip to content

Commit

Permalink
Merge pull request #71 from plug-and-pay/feature/tenant-url
Browse files Browse the repository at this point in the history
fix: add correct tenant url
  • Loading branch information
JoeyDeHaas authored Sep 17, 2024
2 parents 354ef15 + 93de803 commit 4a8c94f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Feature/Checkout/IndexCheckoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function is_should_return_checkouts(): void
$checkouts = $service->get();

static::assertSame(1, $checkouts[0]->id());
static::assertSame('/v2/checkouts?include=product', $client->path());
static::assertSame('/v2/checkouts', $client->path());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Service/TenantService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct(ClientInterface $client)

public function find(): Tenant
{
$response = $this->client->get('/v2/auth/tenants/me');
$response = $this->client->get('/v2/tenant/info');

return BodyToTenant::build($response->body()['data']);
}
Expand Down

0 comments on commit 4a8c94f

Please sign in to comment.