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

changes made apple GETTING_STARTED.md

This commit is contained in:
Pratik Gupta 2023-10-17 18:06:43 +05:30 committed by GitHub
parent 4b7c13d3e2
commit af87c24cfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,11 +75,11 @@ let account = Account(client)
do {
let user = try await account.create(
ID.unique(),
email = 'email@example.com',
phone = '+123456789',
password = 'password',
name = "Walter O'Brien"
userId: ID.unique(),
email: 'email@example.com',
phone: '+123456789',
password: 'password',
name: "Walter O'Brien"
)
print(String(describing: user.toMap()))
} catch {
@ -102,11 +102,11 @@ func main() {
do {
let user = try await account.create(
ID.unique(),
email = 'email@example.com',
phone = '+123456789',
password = 'password',
name = "Walter O'Brien"
userId: ID.unique(),
email: 'email@example.com',
phone: '+123456789',
password: 'password',
name: "Walter O'Brien"
)
print(String(describing: account.toMap()))
} catch {