marinofaggiana 4 years ago
parent
commit
e9a40ead38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Networking/NCNetworking.swift

+ 1 - 1
iOSClient/Networking/NCNetworking.swift

@@ -339,7 +339,7 @@ import NCCommunication
         }
                 
         let serverUrlFileName = metadata.serverUrl + "/" + metadata.fileName
-        NCCommunication.shared.deleteFileOrFolder(serverUrlFileName) { (account, errorCode, errorDescription) in
+        NCCommunication.shared.deleteFileOrFolder(serverUrlFileName, customUserAgent: nil, addCustomHeaders: addCustomHeaders) { (account, errorCode, errorDescription) in
         
             if errorCode == 0 || errorCode == kOCErrorServerPathNotFound {