From ec17284bfd1af505e44795b8f195b5dff08105f4 Mon Sep 17 00:00:00 2001 From: Pratik Gupta <91310568+GuptaPratik02@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:15:42 +0530 Subject: [PATCH] changes made deno GETTING_STARTED.md --- docs/sdks/deno/GETTING_STARTED.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sdks/deno/GETTING_STARTED.md b/docs/sdks/deno/GETTING_STARTED.md index a660f871e1..fb56f493f3 100644 --- a/docs/sdks/deno/GETTING_STARTED.md +++ b/docs/sdks/deno/GETTING_STARTED.md @@ -21,7 +21,7 @@ Once your SDK object is set, create any of the Appwrite service objects and choo ```typescript let users = new sdk.Users(client); -let user = await users.create(ID.unique(), email = 'email@example.com', phone = '+123456789', password = 'password', name = "Walter O'Brien"); +let user = await users.create(ID.unique(), 'email@example.com', '+123456789', 'password', "Walter O'Brien"); console.log(user); ``` @@ -39,7 +39,7 @@ client .setSelfSigned() // Use only on dev mode with a self-signed SSL cert ; -let user = await users.create(ID.unique(), email = 'email@example.com', phone = '+123456789', password = 'password', name = "Walter O'Brien"); +let user = await users.create(ID.unique(), 'email@example.com', '+123456789', 'password', "Walter O'Brien"); console.log(user); ``` @@ -50,7 +50,7 @@ The Appwrite Deno SDK raises `AppwriteException` object with `message`, `code` a let users = new sdk.Users(client); try { - let user = await users.create(ID.unique(), email = 'email@example.com', phone = '+123456789', password = 'password', name = "Walter O'Brien"); + let user = await users.create(ID.unique(), 'email@example.com', '+123456789', 'password', "Walter O'Brien"); } catch(e) { console.log(e.message); }