I have two hooks attached to remotes().before, like so:
app.remotes().before('*.*',test1)app.remotes().before('Company.someAction',test2)Regardless of which order I put them in, test2 always runs before test1. What is the intended order of operation of these hooks? Should I be able to control it by changing the order I define them in?
I have two hooks attached to remotes().before, like so:
Regardless of which order I put them in, test2 always runs before test1. What is the intended order of operation of these hooks? Should I be able to control it by changing the order I define them in?