forked from Ruderverein-Donau-Linz/rowt
show waterlevel for the next days
This commit is contained in:
@@ -4,6 +4,7 @@ use std::str::FromStr;
|
||||
|
||||
#[cfg(feature = "rest")]
|
||||
use rot::rest;
|
||||
use rot::scheduled;
|
||||
#[cfg(feature = "rowing-tera")]
|
||||
use rot::tera;
|
||||
|
||||
@@ -26,6 +27,8 @@ async fn rocket() -> _ {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
scheduled::schedule(&db).await;
|
||||
|
||||
let rocket = rocket::build().manage(db);
|
||||
|
||||
#[cfg(feature = "rowing-tera")]
|
||||
|
Reference in New Issue
Block a user