Hi, I'm trying out functions via the appwrite command line tool and I wanted to know if there is any way to change the trigger of the function through command line as I'm planning to create and trigger functions from client side so wanting to know If the trigger can be changed via command line.
Also second doubt, I am making a function with the trigger users.create so how can i get the details of the user in the cloud function
I did try searching in the documentation but am getting confused with multiple things
appwrite functions update --function-id <YOUR_FUNCTION_ID> --events 'users.create'
I tried this command and it did add users.create to the events but when i pushed the function, it did not appear in the events tag
Recommended threads
- API Key Generation Error
When i try to create an API key with duration (Forever), a popup shows: Invalid `expire` param: Value must be valid date between 0000-01-01 00:00:00 and 9999-12...
- Credit Issue
I had 25 credit left But now, it shows expired and I thought Pro was going to stay for 2 months, but I, used 1 month
- How to access oldValue payload in functi...
I want to record old and new values of data changes as audits. But when i try to read row in function. The value is new already even before grt updated