From 39482a95b194372bc4fc8e7e8be3d186e79c4b98 Mon Sep 17 00:00:00 2001 From: asim Date: Tue, 26 Oct 2021 16:43:07 +0000 Subject: [PATCH] Commit from GitHub Actions (Publish APIs & Clients) --- clients/go/function/function.go | 4 +--- clients/ts/package.json | 2 +- examples/db/create/go/createARecord.go | 2 +- examples/stream/publish/go/publishAMessage.go | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/clients/go/function/function.go b/clients/go/function/function.go index e33bde0..9c3ddc2 100755 --- a/clients/go/function/function.go +++ b/clients/go/function/function.go @@ -107,12 +107,10 @@ type DescribeRequest struct { type DescribeResponse struct { // The function requested Function *Func `json:"function"` - // The last known status of the function - Status string `json:"status"` // The timeout for requests to the function Timeout string `json:"timeout"` // The time at which the function was updated - UpdateTime string `json:"updateTime"` + UpdatedAt string `json:"updatedAt"` } type Func struct { diff --git a/clients/ts/package.json b/clients/ts/package.json index 2f9e451..4cc3ea3 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -76,5 +76,5 @@ "prepare": "npm run build" }, "types": "index.d.ts", - "version": "1.0.570" + "version": "1.0.571" } \ No newline at end of file diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go index 0f23082..283dd5d 100755 --- a/examples/db/create/go/createARecord.go +++ b/examples/db/create/go/createARecord.go @@ -12,10 +12,10 @@ func CreateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Create(&db.CreateRequest{ Record: map[string]interface{}{ - "isActive": true, "id": "1", "name": "Jane", "age": 42, + "isActive": true, }, Table: "users", }) diff --git a/examples/stream/publish/go/publishAMessage.go b/examples/stream/publish/go/publishAMessage.go index 7a0d501..eee4024 100755 --- a/examples/stream/publish/go/publishAMessage.go +++ b/examples/stream/publish/go/publishAMessage.go @@ -12,9 +12,9 @@ func PublishAmessage() { streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) rsp, err := streamService.Publish(&stream.PublishRequest{ Message: map[string]interface{}{ - "user": "john", "id": "1", "type": "signup", + "user": "john", }, Topic: "events", })