This commit is contained in:
Kegan Dougal 2020-07-22 16:37:51 +01:00
parent acc0e7b63d
commit b47359d642

View file

@ -24,6 +24,7 @@ import (
"github.com/matrix-org/util" "github.com/matrix-org/util"
) )
// nolint: gocyclo
func AddRoutes(internalAPIMux *mux.Router, s api.UserInternalAPI) { func AddRoutes(internalAPIMux *mux.Router, s api.UserInternalAPI) {
internalAPIMux.Handle(PerformAccountCreationPath, internalAPIMux.Handle(PerformAccountCreationPath,
httputil.MakeInternalAPI("performAccountCreation", func(req *http.Request) util.JSONResponse { httputil.MakeInternalAPI("performAccountCreation", func(req *http.Request) util.JSONResponse {