aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/clientapi.go')
-rw-r--r--clientapi/clientapi.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index 31a53a70..d0ef368d 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -45,6 +45,7 @@ func AddPublicRoutes(
transactionsCache *transactions.Cache,
fsAPI federationAPI.FederationInternalAPI,
userAPI userapi.UserInternalAPI,
+ userDirectoryProvider userapi.UserDirectoryProvider,
keyAPI keyserverAPI.KeyInternalAPI,
extRoomsProvider api.ExtraPublicRoomsProvider,
mscCfg *config.MSCs,
@@ -58,7 +59,7 @@ func AddPublicRoutes(
routing.Setup(
router, synapseAdminRouter, cfg, eduInputAPI, rsAPI, asAPI,
- userAPI, federation,
+ userAPI, userDirectoryProvider, federation,
syncProducer, transactionsCache, fsAPI, keyAPI,
extRoomsProvider, mscCfg,
)