Web Developer
so i created a simple sendEmail function in my nodeJS env, it all works locally when I try to deploy the code to an appwrite function, I get the following error
TypeError: userFunction is not a function
at /usr/local/src/server.js:68:19
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I check the folder, structure I made use I uploaded it in the right folder structure along with all dependencies the function needs to run, made sure it is pointing to the right place, but I don't know how to resolve this
I am not sure I need to give anymore information than this but if I do I am more than happy to