marinofaggiana il y a 4 ans
Parent
commit
485e907cf2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      iOSClient/Networking/NCNetworking.swift

+ 1 - 1
iOSClient/Networking/NCNetworking.swift

@@ -412,7 +412,7 @@ import Alamofire
                 CCUtility.moveFile(atPath: CCUtility.getDirectoryProviderStorageOcId(metadata.ocId), toPath:  CCUtility.getDirectoryProviderStorageOcId(ocId))
                 NCManageDatabase.sharedInstance.deleteMetadata(predicate: NSPredicate(format: "ocId == %@", metadata.ocId))
                     
-                metadata.date = date ?? NSDate()
+                metadata.uploadDate = date ?? NSDate()
                 metadata.etag = etag ?? ""
                 metadata.ocId = ocId!