aboutsummaryrefslogtreecommitdiff
path: root/eduserver/eduserver.go
diff options
context:
space:
mode:
Diffstat (limited to 'eduserver/eduserver.go')
-rw-r--r--eduserver/eduserver.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/eduserver/eduserver.go b/eduserver/eduserver.go
index 6f664eb6..59decc8f 100644
--- a/eduserver/eduserver.go
+++ b/eduserver/eduserver.go
@@ -21,6 +21,7 @@ import (
"github.com/matrix-org/dendrite/eduserver/api"
"github.com/matrix-org/dendrite/eduserver/cache"
"github.com/matrix-org/dendrite/eduserver/input"
+ "github.com/matrix-org/dendrite/eduserver/inthttp"
"github.com/matrix-org/dendrite/internal/basecomponent"
)
@@ -42,7 +43,7 @@ func SetupEDUServerComponent(
ServerName: base.Cfg.Matrix.ServerName,
}
- inputAPI.SetupHTTP(base.InternalAPIMux)
+ inthttp.AddRoutes(inputAPI, base.InternalAPIMux)
return inputAPI
}