contentURL was missing the trailing slash causing it to fail for all contentURL calls with the dropbox api (#26)

This commit is contained in:
Alek Slater
2017-01-31 13:05:20 +03:30
committed by Amir Abbas Mousavian
parent 4f6e3c7bd5
commit d7ae709cf7
+1 -1
View File
@@ -58,7 +58,7 @@ open class DropboxFileProvider: FileProviderBasicRemote {
self.credential = credential
self.apiURL = URL(string: "https://api.dropboxapi.com/2/")!
self.contentURL = URL(string: "https://content.dropboxapi.com/2")!
self.contentURL = URL(string: "https://content.dropboxapi.com/2/")!
dispatch_queue = DispatchQueue(label: "FileProvider.\(DropboxFileProvider.type)", attributes: DispatchQueue.Attributes.concurrent)
operation_queue = OperationQueue()