I have a problem, I did not find any solution for this. This code is not working . Inside the callback function. can you please solve my problem.
exports.eejsBlock_body = function (hook_name, args, cb) {
customUtils.getOneValueSql(getQuery).then(function (returnData) {
args.content = args.content + eejs.require("ep_top_menu/templates/index.ejs", {"padname":returnData}, module);
return cb();
});
};