1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

fix doc changes

This commit is contained in:
Damodar Lohani 2022-09-01 00:58:45 +00:00
parent 001e12b274
commit 214018be4b
6 changed files with 8 additions and 8 deletions

View file

@ -12,8 +12,8 @@ public void main() {
collectionId = "[COLLECTION_ID]",
name = "[NAME]",
permission = "document",
read = ["role:all"],
write = ["role:all"]
read = listOf("role:all"),
write = listOf("role:all")
new Continuation<Response>() {
@NotNull
@Override

View file

@ -11,7 +11,7 @@ public void main() {
functions.create(
functionId = "[FUNCTION_ID]",
name = "[NAME]",
execute = ["role:all"],
execute = listOf("role:all"),
runtime = "node-14.5",
new Continuation<Response>() {
@NotNull

View file

@ -11,7 +11,7 @@ public void main() {
functions.update(
functionId = "[FUNCTION_ID]",
name = "[NAME]",
execute = ["role:all"],
execute = listOf("role:all"),
new Continuation<Response>() {
@NotNull
@Override

View file

@ -12,8 +12,8 @@ suspend fun main() {
collectionId = "[COLLECTION_ID]",
name = "[NAME]",
permission = "document",
read = ["role:all"],
write = ["role:all"]
read = listOf("role:all"),
write = listOf("role:all")
)
val json = response.body?.string()
}

View file

@ -11,7 +11,7 @@ suspend fun main() {
val response = functions.create(
functionId = "[FUNCTION_ID]",
name = "[NAME]",
execute = ["role:all"],
execute = listOf("role:all"),
runtime = "node-14.5",
)
val json = response.body?.string()

View file

@ -11,7 +11,7 @@ suspend fun main() {
val response = functions.update(
functionId = "[FUNCTION_ID]",
name = "[NAME]",
execute = ["role:all"],
execute = listOf("role:all"),
)
val json = response.body?.string()
}