mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Fix HTTP API for PerformUpgrade
This commit is contained in:
parent
7db9322b53
commit
0351c51c2d
|
|
@ -96,7 +96,7 @@ func AddRoutes(r api.RoomserverInternalAPI, internalAPIMux *mux.Router) {
|
||||||
return util.JSONResponse{Code: http.StatusOK, JSON: &response}
|
return util.JSONResponse{Code: http.StatusOK, JSON: &response}
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
internalAPIMux.Handle(RoomserverPerformPeekPath,
|
internalAPIMux.Handle(RoomserverPerformRoomUpgradePath,
|
||||||
httputil.MakeInternalAPI("performRoomUpgrade", func(req *http.Request) util.JSONResponse {
|
httputil.MakeInternalAPI("performRoomUpgrade", func(req *http.Request) util.JSONResponse {
|
||||||
var request api.PerformRoomUpgradeRequest
|
var request api.PerformRoomUpgradeRequest
|
||||||
var response api.PerformRoomUpgradeResponse
|
var response api.PerformRoomUpgradeResponse
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue