From 6f6a2c1b2df3b5fb5dc8f6f1c59c27c55c0dea81 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Thu, 15 Oct 2020 16:41:29 +0200 Subject: [PATCH] Fix copy & paste error --- eduserver/inthttp/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eduserver/inthttp/server.go b/eduserver/inthttp/server.go index af61c9448..a34943750 100644 --- a/eduserver/inthttp/server.go +++ b/eduserver/inthttp/server.go @@ -38,7 +38,7 @@ func AddRoutes(t api.EDUServerInputAPI, internalAPIMux *mux.Router) { return util.JSONResponse{Code: http.StatusOK, JSON: &response} }), ) - internalAPIMux.Handle(EDUServerInputSendToDeviceEventPath, + internalAPIMux.Handle(EDUServerInputReceiptEventPath, httputil.MakeInternalAPI("inputReceiptEvent", func(req *http.Request) util.JSONResponse { var request api.InputReceiptEventRequest var response api.InputReceiptEventResponse