feat: left right movement done

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-05-02 23:47:47 +02:00
parent d7e21a256d
commit 9de5e6bbff
11 changed files with 522 additions and 224 deletions

View File

@@ -15,7 +15,7 @@ impl Deref for SharedState {
}
pub struct State {
pub db: Pool<Postgres>,
pub _db: Pool<Postgres>,
}
impl State {
@@ -32,6 +32,6 @@ impl State {
let _ = sqlx::query("SELECT 1;").fetch_one(&db).await?;
Ok(Self { db })
Ok(Self { _db: db })
}
}