fix doc changes
This commit is contained in:
parent
001e12b274
commit
214018be4b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
}
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
}
|
Loading…
Reference in a new issue