mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
eee
This commit is contained in:
parent
fa3e4634cb
commit
7c144f6e60
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue