You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This SDK is compatible with Appwrite server version 1.0.0-RC1. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-node/releases).**
9
+
**This SDK is compatible with Appwrite server version 1.0.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-node/releases).**
10
10
11
11
> This is the Node.js SDK for integrating with Appwrite from your Node.js server-side code.
12
12
If you're looking to integrate from the browser, you should check [appwrite/sdk-for-web](https://github.com/appwrite/sdk-for-web)
@@ -48,7 +48,7 @@ Once your SDK object is set, create any of the Appwrite service objects and choo
48
48
```js
49
49
let users =newsdk.Users(client);
50
50
51
-
let promise =users.create('[USER_ID]', '[email protected]', 'password');
51
+
let promise =users.create(ID.unique(), '[email protected]', 'password');
52
52
53
53
promise.then(function (response) {
54
54
console.log(response);
@@ -71,7 +71,7 @@ client
71
71
;
72
72
73
73
let users =newsdk.Users(client);
74
-
let promise =users.create('[USER_ID]', '[email protected]', 'password');
74
+
let promise =users.create(ID.unique(), '[email protected]', 'password');
75
75
76
76
promise.then(function (response) {
77
77
console.log(response);
@@ -87,7 +87,7 @@ The Appwrite Node SDK raises `AppwriteException` object with `message`, `code` a
87
87
let users =newsdk.Users(client);
88
88
89
89
try {
90
-
let res =awaitusers.create('[USER_ID]', '[email protected]', 'password');
90
+
let res =awaitusers.create(ID.unique(), '[email protected]', 'password');
0 commit comments