Closed davidnewhall closed 5 years ago
This closes https://github.com/davidnewhall/unifi-poller/issues/15 by converting the up parameters in the API to a new FlexBool type that can accept a string or a boolean.
up
FlexBool
Additionally improves debug logging when an unmarshal error is encountered. The full payload that failed to parse is printed to screen so it can be further inspected.
This closes https://github.com/davidnewhall/unifi-poller/issues/15 by converting the
up
parameters in the API to a newFlexBool
type that can accept a string or a boolean.Additionally improves debug logging when an unmarshal error is encountered. The full payload that failed to parse is printed to screen so it can be further inspected.