Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
domwong
2021-10-01 13:22:16 +00:00
parent f52cfba017
commit 6c2579b0fd

View File

@@ -11,9 +11,9 @@ func PublishAmessage() {
streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := streamService.Publish(&stream.PublishRequest{
Message: map[string]interface{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "events",
})