mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 21:42:34 +00:00
frontend: authenticate calendar route
This commit is contained in:
@@ -50,6 +50,7 @@ struct CalendarPage {
|
||||
async fn route_calendar<C: CalendarStore + ?Sized>(
|
||||
path: Path<(String, String)>,
|
||||
store: Data<RwLock<C>>,
|
||||
user: User,
|
||||
) -> impl Responder {
|
||||
let store = store.read().await;
|
||||
let (owner, cal_id) = path.into_inner();
|
||||
|
||||
Reference in New Issue
Block a user