Update swift GETTING_STARTED.md
This commit is contained in:
parent
acc408f5ab
commit
303212fba8
1 changed files with 2 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue