mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-04-13 15:23:39 +00:00
Fix PerformPeekPath
This commit is contained in:
parent
8bbccab66e
commit
843b7a7d04
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,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(RoomserverPerformJoinPath,
|
internalAPIMux.Handle(RoomserverPerformPeekPath,
|
||||||
httputil.MakeInternalAPI("performPeek", func(req *http.Request) util.JSONResponse {
|
httputil.MakeInternalAPI("performPeek", func(req *http.Request) util.JSONResponse {
|
||||||
var request api.PerformPeekRequest
|
var request api.PerformPeekRequest
|
||||||
var response api.PerformPeekResponse
|
var response api.PerformPeekResponse
|
||||||
|
|
Loading…
Reference in a new issue