Changed signature of insert_calendar

This commit is contained in:
daladim 2021-04-03 09:24:20 +02:00
parent 707d764e6b
commit f18b1acc0f
3 changed files with 8 additions and 7 deletions

View file

@ -231,8 +231,8 @@ impl CalDavSource<RemoteCalendar> for Client {
.map(|cal| cal.clone())
}
async fn insert_calendar(&mut self, new_calendar: RemoteCalendar) -> Result<(), Box<dyn Error>> {
Err("Not implemented".into())
async fn insert_calendar(&mut self, _new_calendar: RemoteCalendar) -> Result<Arc<Mutex<RemoteCalendar>>, Box<dyn Error>> {
todo!();
}
}