|
@@ -82,7 +82,7 @@ class NCShareNetworking: NSObject {
|
|
|
NCActivityIndicator.shared.start(backgroundView: view)
|
|
|
let filenamePath = CCUtility.returnFileNamePath(fromFileName: metadata.fileName, serverUrl: metadata.serverUrl, urlBase: metadata.urlBase, userId: metadata.userId, account: metadata.account)!
|
|
|
|
|
|
- NextcloudKit.shared.createShare(path: filenamePath, shareType: option.shareType, shareWith: option.shareWith, password: option.password, permissions: option.permissions) { (account, share, data, error) in
|
|
|
+ NextcloudKit.shared.createShare(path: filenamePath, shareType: option.shareType, shareWith: option.shareWith, password: option.password, permissions: option.permissions, attributes: option.attributes) { (account, share, data, error) in
|
|
|
NCActivityIndicator.shared.stop()
|
|
|
if error == .success, let share = share {
|
|
|
option.idShare = share.idShare
|