diff --git a/services/create_event.go b/services/create_event.go index 4dbe6e03f2..d1f2065694 100644 --- a/services/create_event.go +++ b/services/create_event.go @@ -13,6 +13,7 @@ import ( "github.com/frain-dev/convoy/queue" "github.com/frain-dev/convoy/util" "github.com/frain-dev/convoy/worker/task" + "github.com/oklog/ulid/v2" "time" ) @@ -73,6 +74,7 @@ func (c *CreateEventService) Run(ctx context.Context) (*datastore.Event, error) } newEvent := &newEvent{ + UID: ulid.Make().String(), Data: c.NewMessage.Data, EventType: c.NewMessage.EventType, EndpointID: c.NewMessage.EndpointID,