@panagiotis try running ./nodebb build again
Hi @pitaj. Thanks it worked!
I'm currently trying to get the actual request inside a "action:topic.reply" hook.
I need to get some user cookies here !
Inside the documentation there a simple exemple to get the request using middleware/cls but I get "Cannot find moule './middleware/cls' when trying to use the same code : https://docs.nodebb.org/en/latest/plugins/create.html
Cannot find on the internet the proper dependency !
Thanx for your reply but I also need to hook on action:topic.save and action:post.upvote.
If I can found a solution which work for any hook it will be preferable !
I'm currently reading this issue on Github, seem very interesting:
Edit: I think I need to upgrade to newer version of NodeBB which I can't do for now. I will figure out an another solution.
oh, very nice, that does appear to be a better solution.