Skip to content
Snippets Groups Projects
Commit 5aba8e40 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #60

parent a0011668
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ final class BytistConnector
public function decommission(string $branch): string
{
return $this->sendCommandToBranch('decomission', $branch);
return $this->sendCommandToBranch('decommission', $branch);
}
private function sendCommandToBranch(string $command, string $branch, bool $v2 = false): string
......@@ -36,6 +36,6 @@ final class BytistConnector
'Authorization' => 'Basic '. base64_encode($this->token),
]);
$response = app(ClientInterface::class)->sendRequest($request);
return $response->getBody()->getContents();
return 'Response from url ' . $url . ":\n" . $response->getBody()->getContents();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment