-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
appwrite/sdk-generator
#781Description
Github Doc with the wrong line
For Functions the option for the environment variables in this documentation has an error in its text.
It should be "vars" and not "variables".
"functions": [
{
"$id": "655dfe83ea1cd538c65c",
"name": "createDocument",
"runtime": "node-20.0",
"execute": ["any"],
"events": [],
"schedule": "",
"timeout": 15,
"enabled": true,
"logging": true,
"entrypoint": "src/main.js",
"commands": "npm install",
"ignore": ["node_modules", ".npm"],
"path": "functions/createDocument",
"vars": { "apikey": "test" } // not variables
}
]If tried to deploy with variables the cli throws an error
✗ Error remoteVariables is not defined
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done