The sintax puts the phone number before the password
return await users.create(ID.unique(), email, 'phone', password);
Is there a way to create a user only with email and password?
Only the userId is required. You can set phone to undefined. https://appwrite.io/docs/references/cloud/server-nodejs/users#create
use undefined
oh ok, thanks. I really think password should come before though 🤔
I recently opened a new issue to address the parameter order gymnastics that is happening with the SDKs: https://github.com/appwrite/sdk-generator/issues/728
Hopefully it is received well and worked on.
[SOLVED] Am I obligated to set a phone number when creating a user from node-appwrite?
We've thought about this and even did a survey
By far most popular was using object literals
We definitely think it's a step in the right direction 🙂
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...