Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-09-21 09:18:58 +00:00
parent f2aa6f05e1
commit 45c7f5b0bf
4 changed files with 5 additions and 5 deletions

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{}{
"user": "john",
"id": "1",
"type": "signup",
"user": "john",
},
Topic: "events",
})