mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
fix: Make launchInstall return correct object for volume
This commit is contained in:
parent
854febc5d2
commit
b242838339
|
@ -521,7 +521,13 @@ class HetznerServerProvider extends ServerProvider {
|
|||
id: serverResult.data['server']['id'],
|
||||
ip4: serverResult.data['server']['public_net']['ipv4']['ip'],
|
||||
createTime: DateTime.now(),
|
||||
volume: volume,
|
||||
volume: ServerVolume(
|
||||
id: volume['id'],
|
||||
name: volume['name'],
|
||||
sizeByte: volume['size'],
|
||||
serverId: volume['server'],
|
||||
linuxDevice: volume['linux_device'],
|
||||
),
|
||||
apiToken: serverApiToken,
|
||||
provider: ServerProviderType.hetzner,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue