Skip to content

Commit 797e4ce

Browse files
committed
Merge branch 'feat/openstack' into 'master'
Use query param instead of url param See merge request transip/restapi-php-library!296
2 parents 32c9593 + 2108ad8 commit 797e4ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Repository/OpenStack/TokenRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getAllByUserId(string $userId): array
4747
public function getAllByUserIdAndProjectId(string $userId, string $projectId): array
4848
{
4949
$tokens = [];
50-
$response = $this->httpClient->get($this->getResourceUrl($userId, $projectId));
50+
$response = $this->httpClient->get(sprintf('%s?projectId=%s', $this->getResourceUrl($userId), $projectId));
5151
$tokenArray = $this->getParameterFromResponse($response, self::RESOURCE_PARAMETER_PLURAL);
5252

5353
foreach ($tokenArray as $token) {

src/TransipAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
class TransipAPI
110110
{
111111
public const TRANSIP_API_ENDPOINT = "https://api.transip.nl/v6";
112-
public const TRANSIP_API_LIBRARY_VERSION = "6.53.4";
112+
public const TRANSIP_API_LIBRARY_VERSION = "6.53.5";
113113
public const TRANSIP_API_DEMO_TOKEN = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImN3MiFSbDU2eDNoUnkjelM4YmdOIn0.eyJpc3MiOiJhcGkudHJhbnNpcC5ubCIsImF1ZCI6ImFwaS50cmFuc2lwLm5sIiwianRpIjoiY3cyIVJsNTZ4M2hSeSN6UzhiZ04iLCJpYXQiOjE1ODIyMDE1NTAsIm5iZiI6MTU4MjIwMTU1MCwiZXhwIjoyMTE4NzQ1NTUwLCJjaWQiOiI2MDQ0OSIsInJvIjpmYWxzZSwiZ2siOmZhbHNlLCJrdiI6dHJ1ZX0.fYBWV4O5WPXxGuWG-vcrFWqmRHBm9yp0PHiYh_oAWxWxCaZX2Rf6WJfc13AxEeZ67-lY0TA2kSaOCp0PggBb_MGj73t4cH8gdwDJzANVxkiPL1Saqiw2NgZ3IHASJnisUWNnZp8HnrhLLe5ficvb1D9WOUOItmFC2ZgfGObNhlL2y-AMNLT4X7oNgrNTGm-mespo0jD_qH9dK5_evSzS3K8o03gu6p19jxfsnIh8TIVRvNdluYC2wo4qDl5EW5BEZ8OSuJ121ncOT1oRpzXB0cVZ9e5_UVAEr9X3f26_Eomg52-PjrgcRJ_jPIUYbrlo06KjjX2h0fzMr21ZE023Gw";
114114

115115
/**

0 commit comments

Comments
 (0)