From 843b7a7d04a6e9367d8d73d4288636aa6ed7f28b Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 4 Sep 2020 16:32:29 +0100 Subject: [PATCH] Fix PerformPeekPath --- roomserver/inthttp/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roomserver/inthttp/server.go b/roomserver/inthttp/server.go index b3291002..5816d4d8 100644 --- a/roomserver/inthttp/server.go +++ b/roomserver/inthttp/server.go @@ -63,7 +63,7 @@ func AddRoutes(r api.RoomserverInternalAPI, internalAPIMux *mux.Router) { return util.JSONResponse{Code: http.StatusOK, JSON: &response} }), ) - internalAPIMux.Handle(RoomserverPerformJoinPath, + internalAPIMux.Handle(RoomserverPerformPeekPath, httputil.MakeInternalAPI("performPeek", func(req *http.Request) util.JSONResponse { var request api.PerformPeekRequest var response api.PerformPeekResponse