Changed an argument to a reference

This commit is contained in:
daladim 2021-03-21 19:27:55 +01:00
parent f29aca941b
commit bb2122db6b
5 changed files with 8 additions and 8 deletions

View file

@ -68,7 +68,7 @@ where
for (id, cal_server) in cals_server {
let mut cal_server = cal_server.lock().unwrap();
let cal_local = match self.local.get_calendar(id).await {
let cal_local = match self.local.get_calendar(&id).await {
None => {
log::error!("TODO: implement here");
continue;