When updating a record, the wrong zone is getting returned, thus updating/creating the correct record in the wrong zone. It always returns the first element in the array, rather than the first element of the filtered results in the array.
The same goes for records. It would not update an existing record.
I'm using this tool to update my dns configuration of two sites with one account in cloudflare.
Nevertheless only one of my sites gets updated right. Let's call it site1.com. Therefore site1.com has the right ip, thanks to you guys. But my site2.com do no change, but instead the records of site1.com get updated by adding a new site2.com.site1.com every time.
I'm using the right name and zone name for each one, and running each update in it own process.
Is it a problem an known issue in this tool or can I be doing something wrong?