|
@@ -582,7 +582,7 @@ import Alamofire
|
|
// Add directories
|
|
// Add directories
|
|
for metadata in metadatasFolder {
|
|
for metadata in metadatasFolder {
|
|
let serverUrl = metadata.serverUrl + "/" + metadata.fileName
|
|
let serverUrl = metadata.serverUrl + "/" + metadata.fileName
|
|
- NCManageDatabase.sharedInstance.addDirectory(encrypted: metadata.e2eEncrypted, favorite: metadata.favorite, ocId: metadata.ocId, fileId: metadata.fileId, etag: nil, permissions: metadata.permissions, serverUrl: serverUrl, richWorkspace: metadata.richWorkspace, account: account)
|
|
|
|
|
|
+ NCManageDatabase.sharedInstance.addDirectory(encrypted: metadata.e2eEncrypted, favorite: metadata.favorite, ocId: metadata.ocId, fileId: metadata.fileId, etag: metadata.etag, permissions: metadata.permissions, serverUrl: serverUrl, richWorkspace: metadata.richWorkspace, account: account)
|
|
}
|
|
}
|
|
|
|
|
|
DispatchQueue.global().async {
|
|
DispatchQueue.global().async {
|