application_question: setup.application_question.to_owned(),
private_instance: setup.private_instance,
default_theme: setup.default_theme.to_owned(),
+ default_post_listing_type: setup.default_post_listing_type.to_owned(),
auth: admin_jwt,
};
create_site.perform(context, websocket_id).await?;
None
};
- let federated_instances = build_federated_instances(
- context.pool(),
- &context.settings().federation,
- &context.settings().hostname,
- )
- .await?;
+ let federated_instances =
+ build_federated_instances(context.pool(), &context.settings()).await?;
Ok(GetSiteResponse {
site_view,