Closed bmfay closed 3 years ago
Despite my config being as follows
iex(4)> Application.get_env(:cloudex, :cloud_name) "my_app"
when I run
Cloudex.upload(image_url)
I get {:error, "Invalid cloud_name bmfay"}
{:error, "Invalid cloud_name bmfay"}
What am I missing here?
Turns out I had a ENV var CLOUDINARY_CLOUD_NAME set already from a previous project. Might be nice if the config would override env variables rather than the other way around, not sure. Either way, closing this
Despite my config being as follows
when I run
I get
{:error, "Invalid cloud_name bmfay"}
What am I missing here?