mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-29 08:18:27 +00:00
Correct user/devices path (#557)
This commit is contained in:
parent
38965ef5e2
commit
53a726fab1
1 changed files with 2 additions and 2 deletions
|
@ -148,8 +148,8 @@ func Setup(
|
||||||
},
|
},
|
||||||
)).Methods(http.MethodGet)
|
)).Methods(http.MethodGet)
|
||||||
|
|
||||||
v1fedmux.Handle("/query/user_devices/{userID}", common.MakeFedAPI(
|
v1fedmux.Handle("/user/devices/{userID}", common.MakeFedAPI(
|
||||||
"federation_query_user_devices", cfg.Matrix.ServerName, keys,
|
"federation_user_devices", cfg.Matrix.ServerName, keys,
|
||||||
func(httpReq *http.Request, request *gomatrixserverlib.FederationRequest) util.JSONResponse {
|
func(httpReq *http.Request, request *gomatrixserverlib.FederationRequest) util.JSONResponse {
|
||||||
vars := mux.Vars(httpReq)
|
vars := mux.Vars(httpReq)
|
||||||
return GetUserDevices(
|
return GetUserDevices(
|
||||||
|
|
Loading…
Reference in a new issue