fix(notify): ignore EventId in send

This commit is contained in:
马鸿飞
2023-09-06 19:41:05 +08:00
parent a8626647a7
commit 96b806a2bc
+3
View File
@@ -69,6 +69,9 @@ func (e *SEventManager) CreateEvent(ctx context.Context, event, topicId, message
}
func (e *SEventManager) GetEvent(id string) (*SEvent, error) {
if len(id) == 0 {
return nil, nil
}
if consts.OpsLogWithClickhouse {
eventModel, err := e.FetchById(id)
if err != nil {