Update `uploadFile` function
Update `uploadFile` function

If creating a folder on Dropbox, retrive its `metadata` too. If `metadata` is returned as `null` check for it on Dropbox.

dfrankland/grav-plugin-dropbox