[SOLVED] Am I obligated to set a phone number when creating a user from node-appwrite?
- 0
- Resolved
- Web
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
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor