Return of object instead of list

in Development
Hello,
When requesting for all customfields in JSON through the API, we would expect a list to return as the documentation mentions. But if we only have one customfield made then we only get one object customfield ({}) instead of a list ([{}]) with one object in it. Isn't it suppose to always return a List?
Thanks
1 comment
Hi @TomNovasoft,
Thank you for contacting us.
If there’s more than one in the list, the API returns an array, if there’s only one, it just returns the single object.