Fix function calls that are renamed at previous patche
Change-Id: I40736eaadd9d68371b5d5b5c2503c99be5ab2666
diff --git a/src/controllers/rest_probe.js b/src/controllers/rest_probe.js
index 9d67386..6e5a4b3 100644
--- a/src/controllers/rest_probe.js
+++ b/src/controllers/rest_probe.js
@@ -57,7 +57,7 @@
logger.debug(`Received a message ${jsonMessage}`);
// send the message to the event distributor
- eventrouter.sendEvent(jsonMessage.topic, jsonMessage.message);
+ eventrouter.emitEvent(jsonMessage.topic, jsonMessage.message);
res.status(200).send({
result: true