Skip to content

Commit bcfb6ce

Browse files
committed
fix readmes and changes
1 parent 9138a80 commit bcfb6ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $client
6262

6363
$users = new Users($client);
6464

65-
$result = $users->create('[email protected]', 'password');
65+
$result = $users->create('[USER_ID]', '[email protected]', 'password');
6666
```
6767

6868
### Error Handling
@@ -71,7 +71,7 @@ The Appwrite PHP SDK raises `AppwriteException` object with `message`, `code` an
7171
```php
7272
$users = new Users($client);
7373
try {
74-
$result = $users->create('[email protected]', 'password');
74+
$result = $users->create('[USER_ID]', '[email protected]', 'password');
7575
} catch(AppwriteException $error) {
7676
echo $error->message;
7777
}

0 commit comments

Comments
 (0)