Hello,
I am trying to use onRequest event to inject some data to the request data, but it seems that it doesn’t exist in the event. Also, the example you give in the docs doesn’t work, because apparently jovo object doesn’t have getRequestObject method.
What I did is just created a new skill using cli and just added an event handler as described in the docs:
app.onRequest(function (jovo) {
console.log(jovo.getRequestObject());
})
Any ideas what’s up? Also is it possible to access request data in the event? I found, that only app data is accessible there. If there is any different, I am using JS.
Thanks.