Closed CPiersigilli closed 5 years ago
How I define options in the public function upload, to work with this public function?
options
upload
var options = UploadOptions(overwrite: true) client.upload(data: pngdata, filename: filename, destinationFolderPath: destinationFolderPath, createParents: true, options: **options**) { (result) in
Now the error is: Cannot convert value of type 'UploadOptions' to expected argument type 'SynologyClient.UploadOptions?'
Cannot convert value of type 'UploadOptions' to expected argument type 'SynologyClient.UploadOptions?'
Bug fixed. Try 0.2.8.
I tried, but couldn't get it to work. This this the error.
Sorry, I was wrong. Thank you for the bug fixed.
How I define
options
in the public functionupload
, to work with this public function?Now the error is:
Cannot convert value of type 'UploadOptions' to expected argument type 'SynologyClient.UploadOptions?'