Hi Simon, You said u created an events.js file in the backend,
Is that the function u are showing here?