Skip to content

Commit 6146e56

Browse files
committed
fix docs
1 parent 4d335fe commit 6146e56

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

docs/examples/java/database/create-collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public void main() {
99

1010
Database database = new Database(client);
1111
database.createCollection(
12-
collectionId = "",
12+
collectionId = "[COLLECTION_ID]",
1313
name = "[NAME]",
1414
permission = "document",
1515
read = ["role:all"],

docs/examples/java/database/create-document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public void main() {
1010
Database database = new Database(client);
1111
database.createDocument(
1212
collectionId = "[COLLECTION_ID]",
13-
documentId = "",
13+
documentId = "[DOCUMENT_ID]",
1414
data = mapOf( "a" to "b" ),
1515
new Continuation<Response>() {
1616
@NotNull

docs/examples/java/functions/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public void main() {
99

1010
Functions functions = new Functions(client);
1111
functions.create(
12-
functionId = "",
12+
functionId = "[FUNCTION_ID]",
1313
name = "[NAME]",
1414
execute = listOf(),
1515
runtime = "node-14.5",

docs/examples/java/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public void main() {
99

1010
Storage storage = new Storage(client);
1111
storage.createFile(
12-
fileId = "",
12+
fileId = "[FILE_ID]",
1313
file = File("./path-to-files/image.jpg"),
1414
new Continuation<Response>() {
1515
@NotNull

docs/examples/java/teams/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public void main() {
99

1010
Teams teams = new Teams(client);
1111
teams.create(
12-
teamId = "",
12+
teamId = "[TEAM_ID]",
1313
name = "[NAME]",
1414
new Continuation<Response>() {
1515
@NotNull

docs/examples/java/users/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public void main() {
99

1010
Users users = new Users(client);
1111
users.create(
12-
userId = "",
12+
userId = "[USER_ID]",
1313
email = "email@example.com",
1414
password = "password",
1515
new Continuation<Response>() {

docs/examples/kotlin/database/create-collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ suspend fun main() {
99

1010
val database = Database(client)
1111
val response = database.createCollection(
12-
collectionId = "",
12+
collectionId = "[COLLECTION_ID]",
1313
name = "[NAME]",
1414
permission = "document",
1515
read = ["role:all"],

docs/examples/kotlin/database/create-document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ suspend fun main() {
1010
val database = Database(client)
1111
val response = database.createDocument(
1212
collectionId = "[COLLECTION_ID]",
13-
documentId = "",
13+
documentId = "[DOCUMENT_ID]",
1414
data = mapOf( "a" to "b" ),
1515
)
1616
val json = response.body?.string()

docs/examples/kotlin/functions/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ suspend fun main() {
99

1010
val functions = Functions(client)
1111
val response = functions.create(
12-
functionId = "",
12+
functionId = "[FUNCTION_ID]",
1313
name = "[NAME]",
1414
execute = listOf(),
1515
runtime = "node-14.5",

docs/examples/kotlin/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ suspend fun main() {
99

1010
val storage = Storage(client)
1111
val response = storage.createFile(
12-
fileId = "",
12+
fileId = "[FILE_ID]",
1313
file = File("./path-to-files/image.jpg"),
1414
)
1515
val json = response.body?.string()

0 commit comments

Comments
 (0)