Fix copy & paste error
This commit is contained in:
parent
bc528bf48f
commit
6f6a2c1b2d
|
@ -38,7 +38,7 @@ func AddRoutes(t api.EDUServerInputAPI, internalAPIMux *mux.Router) {
|
||||||
return util.JSONResponse{Code: http.StatusOK, JSON: &response}
|
return util.JSONResponse{Code: http.StatusOK, JSON: &response}
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
internalAPIMux.Handle(EDUServerInputSendToDeviceEventPath,
|
internalAPIMux.Handle(EDUServerInputReceiptEventPath,
|
||||||
httputil.MakeInternalAPI("inputReceiptEvent", func(req *http.Request) util.JSONResponse {
|
httputil.MakeInternalAPI("inputReceiptEvent", func(req *http.Request) util.JSONResponse {
|
||||||
var request api.InputReceiptEventRequest
|
var request api.InputReceiptEventRequest
|
||||||
var response api.InputReceiptEventResponse
|
var response api.InputReceiptEventResponse
|
||||||
|
|
Loading…
Reference in a new issue