mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
changes made swift GETTING_STARTED.md
This commit is contained in:
@@ -25,7 +25,11 @@ let users = Users(client)
|
||||
|
||||
do {
|
||||
let user = try await users.create(
|
||||
userId = 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 {
|
||||
@@ -49,7 +53,11 @@ func main() {
|
||||
|
||||
do {
|
||||
let user = try await users.create(
|
||||
userId = 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 {
|
||||
|
||||
Reference in New Issue
Block a user