Closed behrica closed 10 years ago
That shouldn't be necessary, and if it is it should be fixed at a higher level.
The DO REST Api fails if you pass user_data(even empty) and a region, which does not support user_data.
So I think the droplet_new method should make sure that this cannot happen.
in my view this is a special case of user_data.
All other api parameters seem to be ignored, if empty.
Right now droplet_new always sets user_data (eventually empty.)
Remove user_data from request body, if not given