mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
set max-resource-size to i64
This commit is contained in:
@@ -72,7 +72,7 @@ pub enum CalendarProp {
|
||||
)]
|
||||
SupportedCalendarData(SupportedCalendarData),
|
||||
Getcontenttype(String),
|
||||
MaxResourceSize(String),
|
||||
MaxResourceSize(i64),
|
||||
CurrentUserPrivilegeSet(UserPrivilegeSet),
|
||||
SupportedReportSet(SupportedReportSet),
|
||||
SyncToken(String),
|
||||
@@ -127,9 +127,7 @@ impl Resource for CalendarResource {
|
||||
CalendarPropName::Getcontenttype => {
|
||||
CalendarProp::Getcontenttype("text/calendar;charset=utf-8".to_owned())
|
||||
}
|
||||
CalendarPropName::MaxResourceSize => {
|
||||
CalendarProp::MaxResourceSize("10000000".to_owned())
|
||||
}
|
||||
CalendarPropName::MaxResourceSize => CalendarProp::MaxResourceSize(10000000),
|
||||
CalendarPropName::CurrentUserPrivilegeSet => {
|
||||
CalendarProp::CurrentUserPrivilegeSet(UserPrivilegeSet::default())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user