We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfc5c61 commit 1b73547Copy full SHA for 1b73547
src/Models/Actions/Actions.php
@@ -55,7 +55,7 @@ public function get($actionId): Action
55
{
56
$response = $this->httpClient->get('servers/' . $this->server->id . '/actions/' . $actionId);
57
if (!HetznerAPIClient::hasError($response)) {
58
- return Action::parse(json_decode((string)$response->getBody()))->action;
+ return Action::parse(json_decode((string)$response->getBody())->action);
59
}
60
61
0 commit comments