diff --git a/utils/cgrevent.go b/utils/cgrevent.go index a9da4dd89..e505a6e9e 100644 --- a/utils/cgrevent.go +++ b/utils/cgrevent.go @@ -110,15 +110,6 @@ func (cgrEv *CGREvent) AsDataProvider() (ev MapStorage) { } } -func (cgrEv *CGREvent) GetCDRUniqueID() string { - if chargeId, ok := cgrEv.APIOpts[MetaChargeID]; ok { - return IfaceAsString(chargeId) - } else if cgrId, ok := cgrEv.Event[CGRID]; ok { - return IfaceAsString(cgrId) - } - return UUIDSha1Prefix() -} - type EventsWithOpts struct { Event map[string]interface{} Opts map[string]interface{}