
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
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
