aboutsummaryrefslogtreecommitdiff
path: root/setup/monolith.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/monolith.go')
-rw-r--r--setup/monolith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/monolith.go b/setup/monolith.go
index d9893042..848dfe9c 100644
--- a/setup/monolith.go
+++ b/setup/monolith.go
@@ -76,7 +76,7 @@ func (m *Monolith) AddAllPublicRoutes(
m.ExtPublicRoomsProvider, enableMetrics,
)
federationapi.AddPublicRoutes(
- processCtx, routers, cfg, natsInstance, m.UserAPI, m.FedClient, m.KeyRing, m.RoomserverAPI, m.FederationAPI, nil, enableMetrics,
+ processCtx, routers, cfg, natsInstance, m.UserAPI, m.FedClient, m.KeyRing, m.RoomserverAPI, m.FederationAPI, enableMetrics,
)
mediaapi.AddPublicRoutes(routers.Media, cm, cfg, m.UserAPI, m.Client)
syncapi.AddPublicRoutes(processCtx, routers, cfg, cm, natsInstance, m.UserAPI, m.RoomserverAPI, caches, enableMetrics)