Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-13 17:08:03 +00:00
parent 23de678eeb
commit 2b8e5d7870
21 changed files with 824 additions and 840 deletions

View File

@@ -26,9 +26,9 @@ func PublishAnEvent() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
rsp, err := eventService.Publish(&event.PublishRequest{
Message: map[string]interface{}{
"user": "john",
"id": "1",
"type": "signup",
"user": "john",
},
Topic: "user",