There is any way to pass vars into a local function?
I'm running a function with the CLI command appwrite run function --function-id
but I can't see any value in context or context.req
and when I log it I see this error: SyntaxError: JSON Parse error: Unexpected EOF
Vars are passed via a .env file
Logging req when there isn't a valid JSON body will throw an error
I see, I don't have any .env file, this should be documented here right?
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error