Refactor: Rename uid to object_id

This commit is contained in:
Lennart
2024-10-14 10:13:32 +02:00
parent d32f50f472
commit d87b7dcb8d
24 changed files with 153 additions and 287 deletions

View File

@@ -52,10 +52,10 @@ async fn route_calendar<C: CalendarStore + ?Sized>(
store: Data<RwLock<C>>,
) -> impl Responder {
let store = store.read().await;
let (owner, cid) = path.into_inner();
let (owner, cal_id) = path.into_inner();
CalendarPage {
owner: owner.to_owned(),
calendar: store.get_calendar(&owner, &cid).await.unwrap(),
calendar: store.get_calendar(&owner, &cal_id).await.unwrap(),
}
}