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
- function runtime in self hosted
hi i am hosting my appwrite using docker compose but i only have 4 runtimes , how can i add more runtimes ?
- Database Design: Multiple databases
Hello Appwrite Community, I have a question regarding efficient database design with Appwrite. I've been trying to gather relevant information and have created...
- Discord bot being very slow on cloud
Support thread for https://discord.com/channels/564160730845151244/1298074280751403008/1308838217700741150