one ting was missing

This commit is contained in:
2023-12-19 12:34:23 +02:00
parent a19f79034b
commit c396c778ad

View File

@@ -17,7 +17,7 @@ pub struct Arrival {
direction: bool,
}
use sqlx::PgPool;
use sqlx::{PgPool, query_as};
use web::Data;
#[get("all")]
async fn show_arrivals(db_pool: Data<PgPool>) -> impl Responder {