Update calnedar resource sync-token

This commit is contained in:
Lennart
2024-08-02 20:37:05 +02:00
parent cdbfbbe750
commit 13baf4f591

View File

@@ -145,14 +145,10 @@ impl Resource for CalendarFile {
CalendarPropName::SupportedReportSet => { CalendarPropName::SupportedReportSet => {
CalendarProp::SupportedReportSet(SupportedReportSet::default()) CalendarProp::SupportedReportSet(SupportedReportSet::default())
} }
CalendarPropName::SyncToken => CalendarProp::SyncToken(format!( CalendarPropName::SyncToken => {
"github.com/lennart-k/rustical/ns/{}", CalendarProp::SyncToken(self.calendar.format_synctoken())
self.calendar.synctoken }
)), CalendarPropName::Getctag => CalendarProp::Getctag(self.calendar.format_synctoken()),
CalendarPropName::Getctag => CalendarProp::Getctag(format!(
"github.com/lennart-k/rustical/ns/{}",
self.calendar.synctoken
)),
}) })
} }