[fix]: format tree

This commit is contained in:
aprilthepink 2024-04-17 22:00:40 +02:00
parent 36af08918e
commit db996b56a9
2 changed files with 5 additions and 8 deletions

View file

@ -25,13 +25,12 @@ mod objects;
mod utils;
#[derive(Debug, Clone)]
struct Config {
}
struct Config {}
#[derive(Debug, Clone)]
struct State {
database: Arc<Database>,
config: Arc<Config>
config: Arc<Config>,
}
#[derive(Debug, Serialize, Deserialize)]
@ -92,13 +91,11 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
users: Mutex::new(vec![local_user]),
});
let config = Config {
};
let config = Config {};
let state: State = State {
database: new_database,
config: Arc::new(config)
config: Arc::new(config),
};
let data = FederationConfig::builder()