Include repo in AppState

This commit is contained in:
Joscha 2023-08-04 16:33:46 +02:00
parent 4914b03fcd
commit 6f95d58e11
4 changed files with 1010 additions and 9 deletions

View file

@ -79,7 +79,7 @@ async fn run() -> anyhow::Result<()> {
set_up_logging(args.verbose);
info!("You are running {NAME} {VERSION}");
let state = AppState::new(&args.db).await?;
let state = AppState::new(&args.db, &args.repo).await?;
let app = Router::new()
.route("/", get(index))