Skip to content

Commit 874c85a

Browse files
committed
chore: regenerate
1 parent 593469b commit 874c85a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/examples/databases/create-document.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ const sdk = require('node-appwrite');
22

33
const client = new sdk.Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setAdmin('') //
6-
.setSession('') // The user session to authenticate with
7-
.setKey('<YOUR_API_KEY>') // Your secret API key
8-
.setJWT('<YOUR_JWT>'); // Your secret JSON Web Token
5+
.setProject('<YOUR_PROJECT_ID>') // Your project ID
6+
.setSession(''); // The user session to authenticate with
97

108
const databases = new sdk.Databases(client);
119

docs/examples/databases/create-documents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const sdk = require('node-appwrite');
22

33
const client = new sdk.Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setAdmin('') //
5+
.setProject('<YOUR_PROJECT_ID>') // Your project ID
66
.setKey('<YOUR_API_KEY>'); // Your secret API key
77

88
const databases = new sdk.Databases(client);

0 commit comments

Comments
 (0)