--- a/controllers/controllerV0.js
+++ b/controllers/controllerV0.js
@@ -38,8 +38,11 @@
if(isOK) {
controllerNotification.notificationHandler(req.body.body, req.body.token, function(ifOK, reason, notificationsCreated){
if(isOK) {
- //execute email/http request based on the reason
+ //execute email based on the reason
controllerNotification.cronDispatcher(reason);
+ //execute http request based on the reason
+ controllerNotification.cronDispatcherHTTPRequest(reason);
+ //execute smart system for rules creation
smartSystem.smartRulesHandler();
sendResponse(200, {success: true, reason:reason},"Notification: Success", res);
}else {