Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-26 12:42:49 +00:00
parent 06ef8db313
commit dac0425b2a
15 changed files with 714 additions and 714 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",