
I was working with my project and when everything is done, I want it to send a response to the client side just like the examples had done
return res.send("done", 200, headers);
but when i do that, it says
Return statement missing. return context.res.empty() if no response is expected.
you can see my code here https://github.com/dev-shammi/Test/blob/main/src%2Fmain.js#L199
I also tried to use throw
instead of return
but it doesn't work as well.
I just want it to send the response from that block of code, I have tried removing separate functions for all my code blocks and merging all into one, but that also didn't work.
Recommended threads
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
