Marino Faggiana 8 年之前
父节点
当前提交
997f7d598d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      iOSClient/FileSystem/NCManageDatabase.swift

+ 2 - 2
iOSClient/FileSystem/NCManageDatabase.swift

@@ -465,7 +465,7 @@ class NCManageDatabase: NSObject {
             }
         }
         
-        return [share: "\(serverUrl)\(fileName)"]
+        return ["\(serverUrl)\(fileName)" : share]
     }
 
     func addShareUserAndGroup(_ share: String, fileName: String, serverUrl: String, account: String) -> [String:String] {
@@ -495,7 +495,7 @@ class NCManageDatabase: NSObject {
             }
         }
         
-        return [share: "\(serverUrl)\(fileName)"]
+        return ["\(serverUrl)\(fileName)" : share]
     }
     
     func unShare(_ share: String, fileName: String, serverUrl: String, sharesLinkObj: [String:String], sharesUserAndGroupObj: [String:String], account: String) -> [Any] {