minor cleanup stuff

This commit is contained in:
Lennart
2024-11-03 23:21:27 +01:00
parent e9dc8e01d5
commit 4fd32b3f33
7 changed files with 9 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ use actix_web::{
dev::ServiceResponse,
http::{Method, StatusCode},
middleware::{ErrorHandlerResponse, ErrorHandlers},
web::{self, Data, Path, Redirect},
web::{self, Data, Path},
HttpResponse, Responder,
};
use askama::Template;
@@ -53,7 +53,7 @@ struct CalendarPage {
async fn route_calendar<C: CalendarStore + ?Sized>(
path: Path<(String, String)>,
store: Data<C>,
user: User,
_user: User,
) -> impl Responder {
let (owner, cal_id) = path.into_inner();
CalendarPage {