1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

Update kotlin GETTING_STARTED.md

This commit is contained in:
Pratik Gupta 2023-10-17 01:34:32 +05:30 committed by GitHub
parent 0d314df561
commit 7d2b4503e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,8 +25,10 @@ Once your SDK object is set, create any of the Appwrite service objects and choo
val users = Users(client)
val user = users.create(
user = ID.unique(),
email = "email@example.com",
password = "password",
email = 'email@example.com',
phone = '+123456789',
password = 'password',
name = "Walter O'Brien"
)
```
@ -47,8 +49,10 @@ suspend fun main() {
val users = Users(client)
val user = users.create(
user = ID.unique(),
email = "email@example.com",
password = "password",
email = 'email@example.com',
phone = '+123456789',
password = 'password',
name = "Walter O'Brien"
)
}
```
@ -67,8 +71,10 @@ suspend fun main() {
try {
val user = users.create(
user = ID.unique(),
email = "email@example.com",
password = "password",
email = 'email@example.com',
phone = '+123456789',
password = 'password',
name = "Walter O'Brien"
)
} catch (e: AppwriteException) {
e.printStackTrace()