add new server plans and os versions, fix api pagination

This commit is contained in:
Yuri
2025-11-03 14:19:57 +01:00
parent cc60ca7103
commit 0f96849032
2 changed files with 33 additions and 27 deletions
@@ -116,12 +116,12 @@ function ArkHostHetznerVPS_API(array $params) {
break;
case 'Packages':
$url .= 'server_types';
$url .= 'server_types?per_page=50';
$method = 'GET';
break;
case 'Operating Systems':
$url .= 'images?type=system';
$url .= 'images?type=system&per_page=50';
$method = 'GET';
break;
@@ -239,7 +239,7 @@ function ArkHostHetznerVPS_API(array $params) {
break;
case 'Operating Systems - Server':
$url .= 'images?type=system';
$url .= 'images?type=system&per_page=50';
$method = 'GET';
break;