Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-26 10:47:45 +00:00
parent 15b0ea2d2c
commit 7448f9c556
21 changed files with 903 additions and 801 deletions

View File

@@ -54,9 +54,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",