mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Fix some linting errors
Signed-off-by: Ross Schulman <ross@rbs.io>
This commit is contained in:
parent
9aa9d53a39
commit
324cf0274c
|
|
@ -117,9 +117,8 @@ func Setup(
|
|||
v1fedmux.Handle("/query/directory/?room_alias={alias}", common.MakeFedAPI(
|
||||
"federation_query_room_alias", cfg.Matrix.ServerName, keys,
|
||||
func(httpReq *http.Request, request *gomatrixserverlib.FederationRequest) util.JSONResponse {
|
||||
vars := mux.Vars(httpReq)
|
||||
return RoomAliasToID(
|
||||
httpReq, federation, cfg, aliasAPI, vars["alias"],
|
||||
httpReq, federation, cfg, aliasAPI,
|
||||
)
|
||||
},
|
||||
)).Methods("Get")
|
||||
|
|
|
|||
Loading…
Reference in a new issue