diff options
Diffstat (limited to 'cmd/dendrite-federation-api-server/main.go')
-rw-r--r-- | cmd/dendrite-federation-api-server/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dendrite-federation-api-server/main.go b/cmd/dendrite-federation-api-server/main.go index 0c4d8b85..7481299e 100644 --- a/cmd/dendrite-federation-api-server/main.go +++ b/cmd/dendrite-federation-api-server/main.go @@ -36,8 +36,8 @@ func main() { // TODO: this isn't a producer eduProducer := producers.NewEDUServerProducer(base.EDUServerClient()) - federationapi.SetupFederationAPIComponent( - base, accountDB, deviceDB, federation, keyRing, + federationapi.AddPublicRoutes( + base.PublicAPIMux, base.Cfg, accountDB, deviceDB, federation, keyRing, rsAPI, asAPI, fsAPI, eduProducer, ) |