Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-12 09:32:32 +00:00
parent a803ac6cb2
commit cde5ee4b4a
26 changed files with 991 additions and 940 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{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "user",