This post is somewhat strange, I've spent hours and hours trying to figure out what the problem is with why my function ignores the entire appwrite part.
I'm making a stripe webhook that then updates a document of the user with some values.
The problem is that the function ignores the entire appwrite part, it is as if it did not exist, I don't understand what is happening.
The stripe part works fine but it's like the appwrite part is invisible code
Heres my code: https://pastebin.com/raw/MGUdMi5h
Also im using appwrite cloud and node-appwrite version 11.0.0
I also made sure that the .env files are correct. I attach an image of the log that I put after the userPlan, it should not be executed since inside the userPlan there is return res.json({}) 🤔
Because you're using then, that code doesn't execute right away...and then you return.
I highly suggest avoiding using then as it can be confusing and lead to deeply nested code
thanks Steven, I'll try that
Recommended threads
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- proccessing problems
A database schema operation is stuck in my Frankfurt project. In the matryq database, the workspaceId attribute of the coaching_activity_entries collection rema...
- User column is processing
I am still encountering the processing tag after creating a column in my database. and its not a network or refresh issue, i have refreshed over and over, shutd...