Skip to content

Commit 85362db

Browse files
committed
Try fixing Actions Error
1 parent 1b73547 commit 85362db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Servers/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function shutdown(): Action
205205
*/
206206
public function powerOff(): Action
207207
{
208-
$response = $this->httpClient->post($this->replaceServerIdInUri('servers/{id}/actions/powerOff'));
208+
$response = $this->httpClient->post($this->replaceServerIdInUri('servers/{id}/actions/poweroff'));
209209
if (! HetznerAPIClient::hasError($response)) {
210210
return Action::parse(json_decode((string) $response->getBody())->action);
211211
}

0 commit comments

Comments
 (0)