This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Parsing error #12
Comments
Its like x and y are of type string if there are not set (if you don't put a device int the map) |
According to the error message, it should be enough just to change field type from As for the case of inconsistency (sometimes string, sometimes numeric) -- there are multiple such places in unifi api. Thus, I'm more thinking about implementing "fuzzy" types package ( See example here: https://play.golang.org/p/gcna9Ra_Kvh |
I don't know about fuzzy type, in fact, it's a cleaner way to deal with this issue, |
dim13
added a commit
that referenced
this issue
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi ! I'm having the issue below:
When calling
https://github.com/dim13/unifi/blob/master/uap.go#L277
Unifi controller: 5.10.19
The text was updated successfully, but these errors were encountered: