Marino Faggiana 7 gadi atpakaļ
vecāks
revīzija
bf892949ee
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      PickerFileProvider/FileProvider.swift

+ 1 - 1
PickerFileProvider/FileProvider.swift

@@ -987,7 +987,7 @@ class FileProvider: NSFileProviderExtension {
         let task = ocNetworking?.uploadFileNameServerUrl(serverUrl+"/"+fileName, fileNameLocalPath: fileNameLocalPath, communication: CCNetworking.shared().sharedOCCommunicationExtensionUpload(fileName), success: { (fileID, etag, date) in
             
             // Remove file on queueUpload
-            NCManageDatabase.sharedInstance.deleteQueueUpload(path: fileNameLocalPath)
+            NCManageDatabase.sharedInstance.deleteQueueUpload(path: path)
             
             // Remove from dictionary
             self.listUpload.removeValue(forKey: identifier.rawValue)