Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
crufter
2021-10-21 14:01:47 +00:00
parent 4f54405139
commit 23b34529bf
3 changed files with 4 additions and 4 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{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "events",
})