add functionality to show log

This commit is contained in:
2023-10-28 14:48:08 +02:00
parent cfd0ccc8c2
commit 08a1d16f88
4 changed files with 29 additions and 9 deletions

View File

@@ -1,8 +1,7 @@
use rocket::{get, http::ContentType, routes, Route, State};
use rocket_dyn_templates::{context, Template};
use sqlx::SqlitePool;
use crate::model::{planned_event::PlannedEvent, user::User};
use crate::model::planned_event::PlannedEvent;
#[get("/cal")]
async fn cal(db: &State<SqlitePool>) -> (ContentType, String) {