You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-06 06:02:40 +03:00
Make the SiteConfig available in the GraphQL context
This commit is contained in:
@@ -194,8 +194,12 @@ impl Options {
|
||||
// Listen for SIGHUP
|
||||
register_sighup(&templates, &activity_tracker)?;
|
||||
|
||||
let graphql_schema =
|
||||
mas_handlers::graphql_schema(&pool, &policy_factory, homeserver_connection.clone());
|
||||
let graphql_schema = mas_handlers::graphql_schema(
|
||||
&pool,
|
||||
&policy_factory,
|
||||
homeserver_connection.clone(),
|
||||
site_config.clone(),
|
||||
);
|
||||
|
||||
let state = {
|
||||
let mut s = AppState {
|
||||
|
Reference in New Issue
Block a user