How can I add a new key to the user context?



I want to set a key in the user context prev response object. How can I do that? I’ve tried to put it using the “after.response” hook, but it didn’t work.

  app.hook('after.response', (error, host, jovo) => {
    if (error) {
      console.log('after.response ---> error: ', error);

    jovo.$user.$context.prev[0].response.myKey = 'myValue';