diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go index ed2b1c4..c57135b 100755 --- a/examples/db/create/go/createARecord.go +++ b/examples/db/create/go/createARecord.go @@ -11,10 +11,10 @@ func CreateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Create(&db.CreateRequest{ Record: map[string]interface{}{ - "id": "1", - "name": "Jane", "age": 42, "isActive": true, + "id": "1", + "name": "Jane", }, Table: "users", }) diff --git a/examples/function/deploy/curl/deployAFunction.sh b/examples/function/deploy/curl/deployAFunction.sh index 42f0a19..852fbaf 100755 --- a/examples/function/deploy/curl/deployAFunction.sh +++ b/examples/function/deploy/curl/deployAFunction.sh @@ -5,5 +5,5 @@ curl "https://api.m3o.com/v1/function/Deploy" \ "entrypoint": "helloworld", "name": "my-first-func", "project": "tests", - "repo": "github.com/crufter/gcloud-nodejs-test" + "repo": "github.com/m3o/nodejs-function-example" }' \ No newline at end of file diff --git a/examples/function/deploy/go/deployAFunction.go b/examples/function/deploy/go/deployAFunction.go index 537de46..5d3c98b 100755 --- a/examples/function/deploy/go/deployAFunction.go +++ b/examples/function/deploy/go/deployAFunction.go @@ -13,7 +13,7 @@ func DeployAfunction() { Entrypoint: "helloworld", Name: "my-first-func", Project: "tests", - Repo: "github.com/crufter/gcloud-nodejs-test", + Repo: "github.com/m3o/nodejs-function-example", }) fmt.Println(rsp, err) } diff --git a/examples/function/deploy/node/deployAFunction.js b/examples/function/deploy/node/deployAFunction.js index df2921e..f8e82a1 100755 --- a/examples/function/deploy/node/deployAFunction.js +++ b/examples/function/deploy/node/deployAFunction.js @@ -7,7 +7,7 @@ async function DeployAfunction() { entrypoint: "helloworld", name: "my-first-func", project: "tests", - repo: "github.com/crufter/gcloud-nodejs-test", + repo: "github.com/m3o/nodejs-function-example", }); console.log(rsp); }