|
@@ -128,12 +128,12 @@ extension NCManageDatabase {
|
|
|
}
|
|
|
|
|
|
struct Public: Codable {
|
|
|
- let upload: Bool
|
|
|
let enabled: Bool
|
|
|
+ let upload: Bool?
|
|
|
let password: Password?
|
|
|
- let sendmail: Bool
|
|
|
- let uploadfilesdrop: Bool
|
|
|
- let multiplelinks: Bool
|
|
|
+ let sendmail: Bool?
|
|
|
+ let uploadfilesdrop: Bool?
|
|
|
+ let multiplelinks: Bool?
|
|
|
let expiredate: ExpireDate?
|
|
|
let expiredateinternal: ExpireDate?
|
|
|
let expiredateremote: ExpireDate?
|
|
@@ -281,7 +281,7 @@ extension NCManageDatabase {
|
|
|
}
|
|
|
jsonData = data
|
|
|
} catch let error as NSError {
|
|
|
- NextcloudKit.shared.nkCommonInstance.writeLog("I cannot access to database: \(error)")
|
|
|
+ NextcloudKit.shared.nkCommonInstance.writeLog("Could not access database: \(error)")
|
|
|
return
|
|
|
}
|
|
|
}
|
|
@@ -348,7 +348,7 @@ extension NCManageDatabase {
|
|
|
}
|
|
|
NCGlobal.shared.capabilityGroupfoldersEnabled = json.ocs.data.capabilities.groupfolders?.hasGroupFolders ?? false
|
|
|
} catch let error as NSError {
|
|
|
- NextcloudKit.shared.nkCommonInstance.writeLog("I cannot access to database: \(error)")
|
|
|
+ NextcloudKit.shared.nkCommonInstance.writeLog("Could not access database: \(error)")
|
|
|
return
|
|
|
}
|
|
|
}
|