diff --git a/clients/go/quran/quran.go b/clients/go/quran/quran.go index ea515f2..2c1481b 100755 --- a/clients/go/quran/quran.go +++ b/clients/go/quran/quran.go @@ -149,7 +149,7 @@ type Verse struct { // The unique id of the verse in the whole book Id int32 `json:"id"` // The interpretations of the verse - Interpretations []Interpretation `json:"interpretations"` + Interpretations []Translation `json:"interpretations"` // The key of this verse (chapter:verse) e.g 1:1 Key string `json:"key"` // The verse number in this chapter diff --git a/clients/ts/package.json b/clients/ts/package.json index 27b8dec..079b007 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -57,5 +57,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "1.0.512" + "version": "1.0.513" } \ No newline at end of file diff --git a/clients/ts/quran/index.ts b/clients/ts/quran/index.ts index f903ecc..77f59a9 100755 --- a/clients/ts/quran/index.ts +++ b/clients/ts/quran/index.ts @@ -149,7 +149,7 @@ export interface Verse { // The unique id of the verse in the whole book id?: number; // The interpretations of the verse - interpretations?: Interpretation[]; + interpretations?: Translation[]; // The key of this verse (chapter:verse) e.g 1:1 key?: string; // The verse number in this chapter diff --git a/examples/stream/publish/go/publishAMessage.go b/examples/stream/publish/go/publishAMessage.go index 0f33eac..af88ee1 100755 --- a/examples/stream/publish/go/publishAMessage.go +++ b/examples/stream/publish/go/publishAMessage.go @@ -11,9 +11,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", })