1
0
Fork 0
mirror of synced 2024-06-13 16:24:47 +12:00

Update web GETTING_STARTED.md

Removed phone number from account.create() function as it does not accept it.
This commit is contained in:
Pratik Gupta 2023-10-24 09:12:13 +05:30 committed by GitHub
parent 7791cdc201
commit eefbc68f6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ Once your SDK object is set, access any of the Appwrite services and choose any
const account = new Account(client);
// Register User
account.create(ID.unique(), "email@example.com", "+123456789", "password", "Walter O'Brien")
account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien")
.then(function (response) {
console.log(response);
}, function (error) {
@ -47,7 +47,7 @@ client
const account = new Account(client);
// Register User
account.create(ID.unique(), "email@example.com", "+123456789", "password", "Walter O'Brien")
account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien")
.then(function (response) {
console.log(response);
}, function (error) {