Skip to content

Commit 1b73547

Browse files
committed
Try fixing Actions Error
1 parent dfc5c61 commit 1b73547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Actions/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function get($actionId): Action
5555
{
5656
$response = $this->httpClient->get('servers/' . $this->server->id . '/actions/' . $actionId);
5757
if (!HetznerAPIClient::hasError($response)) {
58-
return Action::parse(json_decode((string)$response->getBody()))->action;
58+
return Action::parse(json_decode((string)$response->getBody())->action);
5959
}
6060
}
6161

0 commit comments

Comments
 (0)