From 6c99009ee328e810058182a1722b51c1552a60ba Mon Sep 17 00:00:00 2001 From: "Ivan Kuchin (ikuchin)" Date: Sat, 9 Mar 2024 11:07:11 -0500 Subject: [PATCH] Bugfix: update API types after pi-hole changes --- internal/cli/get_types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/cli/get_types.go b/internal/cli/get_types.go index 4b162e7..f6360b8 100644 --- a/internal/cli/get_types.go +++ b/internal/cli/get_types.go @@ -24,15 +24,15 @@ type IPAddress struct { Owner string `json:"owner"` Tag int `json:"tag"` DeviceID int `json:"deviceId"` - Location string `json:"location"` + Location int `json:"location"` Port string `json:"port"` Note string `json:"note"` LastSeen string `json:"lastSeen"` ExcludePing int `json:"excludePing"` PTRignore int `json:"PTRignore"` - Ptr string `json:"PTR"` + Ptr int `json:"PTR"` FirewallAddressObject string `json:"firewallAddressObject"` EditDate string `json:"editDate"` - CustomerID string `json:"customer_id"` + CustomerID int `json:"customer_id"` ClientIdentifier string `json:"custom_ClientID"` }