From 2320810b8f5db60ffdcfdbff71516997ef0b885a Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 4 Jan 2022 17:34:02 +0545 Subject: [PATCH] fix docs --- docs/examples/java/account/create-magic-u-r-l-session.md | 2 +- docs/examples/java/account/create.md | 2 +- docs/examples/java/account/update-magic-u-r-l-session.md | 2 +- docs/examples/java/database/create-document.md | 2 +- docs/examples/java/storage/create-file.md | 2 +- docs/examples/java/teams/create.md | 2 +- docs/examples/kotlin/account/create-magic-u-r-l-session.md | 2 +- docs/examples/kotlin/account/create.md | 2 +- docs/examples/kotlin/account/update-magic-u-r-l-session.md | 2 +- docs/examples/kotlin/database/create-document.md | 2 +- docs/examples/kotlin/storage/create-file.md | 2 +- docs/examples/kotlin/teams/create.md | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/examples/java/account/create-magic-u-r-l-session.md b/docs/examples/java/account/create-magic-u-r-l-session.md index de630ad..6c9fa7c 100644 --- a/docs/examples/java/account/create-magic-u-r-l-session.md +++ b/docs/examples/java/account/create-magic-u-r-l-session.md @@ -19,7 +19,7 @@ public class MainActivity extends AppCompatActivity { Account account = new Account(client); account.createMagicURLSession( - "", + "[USER_ID]", "email@example.com", new Continuation() { @NotNull diff --git a/docs/examples/java/account/create.md b/docs/examples/java/account/create.md index 1f10de2..11a5168 100644 --- a/docs/examples/java/account/create.md +++ b/docs/examples/java/account/create.md @@ -19,7 +19,7 @@ public class MainActivity extends AppCompatActivity { Account account = new Account(client); account.create( - "", + "[USER_ID]", "email@example.com", "password", new Continuation() { diff --git a/docs/examples/java/account/update-magic-u-r-l-session.md b/docs/examples/java/account/update-magic-u-r-l-session.md index f8375b9..d0734e1 100644 --- a/docs/examples/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/java/account/update-magic-u-r-l-session.md @@ -19,7 +19,7 @@ public class MainActivity extends AppCompatActivity { Account account = new Account(client); account.updateMagicURLSession( - "", + "[USER_ID]", "[SECRET]" new Continuation() { @NotNull diff --git a/docs/examples/java/database/create-document.md b/docs/examples/java/database/create-document.md index 7f1ff4c..059a42e 100644 --- a/docs/examples/java/database/create-document.md +++ b/docs/examples/java/database/create-document.md @@ -20,7 +20,7 @@ public class MainActivity extends AppCompatActivity { database.createDocument( "[COLLECTION_ID]", - "", + "[DOCUMENT_ID]", mapOf( "a" to "b" ), new Continuation() { @NotNull diff --git a/docs/examples/java/storage/create-file.md b/docs/examples/java/storage/create-file.md index f20ba26..420ca3c 100644 --- a/docs/examples/java/storage/create-file.md +++ b/docs/examples/java/storage/create-file.md @@ -19,7 +19,7 @@ public class MainActivity extends AppCompatActivity { Storage storage = new Storage(client); storage.createFile( - "", + "[FILE_ID]", File("./path-to-files/image.jpg"), new Continuation() { @NotNull diff --git a/docs/examples/java/teams/create.md b/docs/examples/java/teams/create.md index c3e3093..3723b30 100644 --- a/docs/examples/java/teams/create.md +++ b/docs/examples/java/teams/create.md @@ -19,7 +19,7 @@ public class MainActivity extends AppCompatActivity { Teams teams = new Teams(client); teams.create( - "", + "[TEAM_ID]", "[NAME]", new Continuation() { @NotNull diff --git a/docs/examples/kotlin/account/create-magic-u-r-l-session.md b/docs/examples/kotlin/account/create-magic-u-r-l-session.md index 7ac9a30..15fa1c7 100644 --- a/docs/examples/kotlin/account/create-magic-u-r-l-session.md +++ b/docs/examples/kotlin/account/create-magic-u-r-l-session.md @@ -18,7 +18,7 @@ class MainActivity : AppCompatActivity() { GlobalScope.launch { val response = account.createMagicURLSession( - userId = "", + userId = "[USER_ID]", email = "email@example.com", ) val json = response.body?.string() diff --git a/docs/examples/kotlin/account/create.md b/docs/examples/kotlin/account/create.md index 068fa5f..ab2534f 100644 --- a/docs/examples/kotlin/account/create.md +++ b/docs/examples/kotlin/account/create.md @@ -18,7 +18,7 @@ class MainActivity : AppCompatActivity() { GlobalScope.launch { val response = account.create( - userId = "", + userId = "[USER_ID]", email = "email@example.com", password = "password", ) diff --git a/docs/examples/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/kotlin/account/update-magic-u-r-l-session.md index 923574e..3fe1b7c 100644 --- a/docs/examples/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/kotlin/account/update-magic-u-r-l-session.md @@ -18,7 +18,7 @@ class MainActivity : AppCompatActivity() { GlobalScope.launch { val response = account.updateMagicURLSession( - userId = "", + userId = "[USER_ID]", secret = "[SECRET]" ) val json = response.body?.string() diff --git a/docs/examples/kotlin/database/create-document.md b/docs/examples/kotlin/database/create-document.md index 89ada64..d207383 100644 --- a/docs/examples/kotlin/database/create-document.md +++ b/docs/examples/kotlin/database/create-document.md @@ -19,7 +19,7 @@ class MainActivity : AppCompatActivity() { GlobalScope.launch { val response = database.createDocument( collectionId = "[COLLECTION_ID]", - documentId = "", + documentId = "[DOCUMENT_ID]", data = mapOf( "a" to "b" ), ) val json = response.body?.string() diff --git a/docs/examples/kotlin/storage/create-file.md b/docs/examples/kotlin/storage/create-file.md index f4f36c9..1261bda 100644 --- a/docs/examples/kotlin/storage/create-file.md +++ b/docs/examples/kotlin/storage/create-file.md @@ -18,7 +18,7 @@ class MainActivity : AppCompatActivity() { GlobalScope.launch { val response = storage.createFile( - fileId = "", + fileId = "[FILE_ID]", file = File("./path-to-files/image.jpg"), ) val json = response.body?.string() diff --git a/docs/examples/kotlin/teams/create.md b/docs/examples/kotlin/teams/create.md index fcce1e0..73857b8 100644 --- a/docs/examples/kotlin/teams/create.md +++ b/docs/examples/kotlin/teams/create.md @@ -18,7 +18,7 @@ class MainActivity : AppCompatActivity() { GlobalScope.launch { val response = teams.create( - teamId = "", + teamId = "[TEAM_ID]", name = "[NAME]", ) val json = response.body?.string()