sekipaolo/pypingdom

Contactid only creating first element in list

mjseid opened this issue · 1 comments

I'm using the update_check functionality, and specifying a list of integers for contactids like this

"port": 443, "contactids": [12345678,98765432], "sendnotificationwhendown": 1,
The result is only the first id in the list gets set

After trying to track this down, I believe it is handled properly until its passed to the requests library so its outside of this project.

I was able to get the desired effect by passing it like this even though the API states it should be comma separated integers
"contactids": ['12345678,98765432'],