Remove trailing slash from /backfill/{roomID}

This commit is contained in:
Andrew Morgan 2019-07-17 16:09:55 +01:00
parent cf3f74b0e8
commit b44772e072

View file

@ -260,7 +260,7 @@ func Setup(
},
)).Methods(http.MethodPost)
v1fedmux.Handle("/backfill/{roomID}/", common.MakeFedAPI(
v1fedmux.Handle("/backfill/{roomID}", common.MakeFedAPI(
"federation_backfill", cfg.Matrix.ServerName, keys,
func(httpReq *http.Request, request *gomatrixserverlib.FederationRequest) util.JSONResponse {
vars, err := common.URLDecodeMapValues(mux.Vars(httpReq))