From 3441367dda7c51eaa085513336f5ce35eb1f855d Mon Sep 17 00:00:00 2001 From: Hylke Witjens Date: Tue, 10 Sep 2024 09:27:07 +0200 Subject: [PATCH] Typo --- src/Api/HostsApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/HostsApi.php b/src/Api/HostsApi.php index 854938c..6257192 100644 --- a/src/Api/HostsApi.php +++ b/src/Api/HostsApi.php @@ -91,7 +91,7 @@ public function update( ]; if ($addresses instanceof DnsHostAddressCollection) { - $payload['billables'] = $addresses->toArray(); + $payload['addresses'] = $addresses->toArray(); } $this->client->post(sprintf('v2/hosts/%s/update', $hostName), $payload);