Using appwrite version 1.4.4 and running through the documentation and sample function I am not clear how this now works
It used to be "req.variables['VARIABLE_NAME']"
Now I see
process.env. VARIABLE_NAME Platform.environment['VARIABLE_NAME'] ??
yes, it should be Platform.environment
Oddly it refuses to recognize "platform" will try again tomorrow and confirm
It should be Platform. And you night have to import something
Recommended threads
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...