Fix Vultr power controls for stopped instances

This commit is contained in:
Cornelis Terblanche committed 2026-06-03 21:32:18 +02:00
1 parent 94abbe1590
commit f7150a1d6c
4 files changed
+33 -2

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class VultrService
throw new \Exception('Vultr API error: '.$response->json('error', 'Unknown error'), $response->status());
}
return $response->json();
return $response->json() ?? [];
}
private function requestPaginated(string $endpoint, string $resourceKey, array $data = []): array