This commit is contained in:
aprilthepink 2024-04-18 04:14:19 +02:00
parent fa3e4634cb
commit 7c144f6e60
2 changed files with 0 additions and 2 deletions

View file

@ -11,7 +11,6 @@ pub struct Config {}
#[derive(Debug, Clone)]
pub struct State {
pub database_connection: Arc<DatabaseConnection>,
pub config: Arc<Config>,
}
pub type StateHandle = Arc<State>;

View file

@ -100,7 +100,6 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
let state: State = State {
database_connection: db.into(),
config: Arc::new(config),
};
let data = FederationConfig::builder()