fix(hetzner): Fix the resize volume request

This commit is contained in:
Inex Code 2024-02-07 13:39:41 +03:00
parent 370186030a
commit 98228cfc05

View file

@ -547,7 +547,7 @@ class HetznerApi extends RestApiMap {
resizeVolumeResponse = await client.post( resizeVolumeResponse = await client.post(
'/volumes/${volume.id}/actions/resize', '/volumes/${volume.id}/actions/resize',
data: { data: {
'size': size.gibibyte, 'size': size.gibibyte.floor(),
}, },
); );
success = success =