1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

Rectified flutter-dev EXAMPLES.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:04:48 +05:30 committed by GitHub
parent 9eea574df5
commit c2ce7d0aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ Create a new user and session:
```dart
Account account = Account(client);
final user = await account.create(userId: ID.unique(), email: "email@example.com", phone: "+123456789", password: "password", name: "Walter O'Brien");
final user = await account.create(userId: ID.unique(), email: "email@example.com", password: "password", name: "Walter O'Brien");
final session = await account.createEmailSession(email: 'me@appwrite.io', password: 'password');