mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 14:48:19 +01:00
bug found?
This commit is contained in:
parent
c160218de6
commit
8afd6a9468
|
|
@ -13,7 +13,7 @@ pub struct State {
|
||||||
pub database_connection: Arc<DatabaseConnection>,
|
pub database_connection: Arc<DatabaseConnection>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type StateHandle = Arc<State>;
|
pub type StateHandle = State;
|
||||||
|
|
||||||
/// Our "database" which contains all known users (local and federated)
|
/// Our "database" which contains all known users (local and federated)
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
|
||||||
|
|
@ -96,8 +96,6 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
|
||||||
|
|
||||||
let user = user.insert(&db).await;
|
let user = user.insert(&db).await;
|
||||||
|
|
||||||
let config = Config {};
|
|
||||||
|
|
||||||
let state: State = State {
|
let state: State = State {
|
||||||
database_connection: db.into(),
|
database_connection: db.into(),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue