fix function examples

This commit is contained in:
Asim Aslam
2021-12-01 18:53:52 +00:00
parent c7d932c636
commit c810ff45bc

View File

@@ -4,9 +4,8 @@
"title": "Deploy a function", "title": "Deploy a function",
"request": { "request": {
"repo": "github.com/m3o/nodejs-function-example", "repo": "github.com/m3o/nodejs-function-example",
"name": "my-first-func", "name": "helloworld",
"entrypoint": "helloworld", "entrypoint": "helloworld",
"project": "tests",
"runtime": "nodejs14" "runtime": "nodejs14"
}, },
"response": {} "response": {}
@@ -16,7 +15,7 @@
{ {
"title": "Call a function", "title": "Call a function",
"request": { "request": {
"name": "my-first-func", "name": "helloworld",
"request": {} "request": {}
}, },
"response": { "response": {
@@ -33,8 +32,7 @@
"response": { "response": {
"functions": [ "functions": [
{ {
"project": "a", "name": "helloworld",
"name": "test4",
"entrypoint": "helloworld", "entrypoint": "helloworld",
"repo": "github.com/m3o/nodejs-function-example", "repo": "github.com/m3o/nodejs-function-example",
"subfolder": "", "subfolder": "",
@@ -49,8 +47,7 @@
{ {
"title": "Delete a function", "title": "Delete a function",
"request": { "request": {
"project": "tests", "name": "helloworld"
"name": "my-first-func"
}, },
"response": {} "response": {}
} }
@@ -59,13 +56,11 @@
{ {
"title": "Describe function status", "title": "Describe function status",
"request": { "request": {
"project": "tests", "name": "helloworld"
"name": "my-first-func"
}, },
"response": { "response": {
"function": { "function": {
"project": "a", "name": "helloworld",
"name": "test4",
"entrypoint": "helloworld", "entrypoint": "helloworld",
"repo": "github.com/m3o/nodejs-function-example", "repo": "github.com/m3o/nodejs-function-example",
"subfolder": "", "subfolder": "",