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

Update swift GETTING_STARTED.md

This commit is contained in:
Pratik Gupta 2023-10-17 01:47:43 +05:30 committed by GitHub
parent acc408f5ab
commit 303212fba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,9 +25,7 @@ let users = Users(client)
do {
let user = try await users.create(
userId: ID.unique(),
email: "email@example.com",
password: "password"
userId = ID.unique(), email = 'email@example.com', phone = '+123456789', password = 'password', name = "Walter O'Brien"
)
print(String(describing: user.toMap()))
} catch {
@ -51,9 +49,7 @@ func main() {
do {
let user = try await users.create(
userId: ID.unique(),
email: "email@example.com",
password: "password"
userId = ID.unique(), email = 'email@example.com', phone = '+123456789', password = 'password', name = "Walter O'Brien"
)
print(String(describing: user.toMap()))
} catch {