marinofaggiana 5 years ago
parent
commit
64783597a2

+ 1 - 0
iOSClient/Networking/NCCommunication.swift

@@ -64,6 +64,7 @@ class NCCommunication: NSObject {
         do {
             try url = path.asURL()
         } catch _ {
+            completionHandler(nil, nil)
             return
         }
         

+ 4 - 0
iOSClient/Networking/NCCommunicationModel.swift

@@ -23,6 +23,8 @@
 
 import Foundation
 
+//MARK: -
+//MARK: File
 
 @objc class NCFile: NSObject {
     private override init() {}
@@ -53,3 +55,5 @@ import Foundation
     let trashbinOriginalLocation = ""
     let trashbinDeletionTime = NSDate()
 }
+
+//MARK: -