Is it possible to add user preferences at the time the account.create function is called, or does it need to be updated after the user account is created?
You can't something to happened with action, but you can make it happened after and action.
Meaning you can create a function and set the function to be triggered on account creation event users.*.create
Then, inside the function you can User value which is inside the APPWRITE_FUNCTION_EVENT_DATA
variable to set the user preferences.
Recommended threads
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...