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