diff --git a/src/routes/docs/tutorials/react/step-3/+page.markdoc b/src/routes/docs/tutorials/react/step-3/+page.markdoc index 2fcbf06fcf..8dc0e1f18c 100644 --- a/src/routes/docs/tutorials/react/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/react/step-3/+page.markdoc @@ -45,7 +45,7 @@ Only one instance of the `Client()` class should be created per app. Add the following code to it, replacing `` with your project ID. ```js -import { Client } from "appwrite"; +import { Client, Databases, Account } from "appwrite"; const client = new Client(); client @@ -53,5 +53,5 @@ client .setProject(""); // Replace with your project ID export const account = new Account(client); -export const database = new Database(client); +export const database = new Databases(client); ``` \ No newline at end of file diff --git a/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc b/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc index 0ec3c17f9c..a4bdefc6e8 100644 --- a/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc @@ -44,7 +44,7 @@ Only one instance of the `Client()` class should be created per app. Add the following code to it, replacing `` with your project ID. ```js -import { Client } from "appwrite"; +import { Client, Databases, Account } from "appwrite"; const client = new Client(); client @@ -52,5 +52,5 @@ client .setProject(""); // Replace with your project ID export const account = new Account(client); -export const database = new Database(client); +export const database = new Databases(client); ``` \ No newline at end of file diff --git a/src/routes/docs/tutorials/vue/step-3/+page.markdoc b/src/routes/docs/tutorials/vue/step-3/+page.markdoc index 669b4087b6..5375c06d13 100644 --- a/src/routes/docs/tutorials/vue/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/vue/step-3/+page.markdoc @@ -44,7 +44,7 @@ Only one instance of the `Client()` class should be created per app. Add the following code to it, replacing `` with your project ID. ```js -import { Client } from "appwrite"; +import { Client, Databases, Account } from "appwrite"; const client = new Client(); client @@ -52,5 +52,5 @@ client .setProject(""); // Replace with your project ID export const account = new Account(client); -export const database = new Database(client); +export const database = new Databases(client); ``` \ No newline at end of file