From 3f5956ab1bef66a9af0acb25fba9078eb40c0040 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Tue, 2 Apr 2024 20:05:43 +0300 Subject: [PATCH] Use correct subsys const when dispatching to EEs Before *core was mistakenly used instead of *ees --- dispatchers/ees.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dispatchers/ees.go b/dispatchers/ees.go index fd81ecf33..9464f3a7b 100644 --- a/dispatchers/ees.go +++ b/dispatchers/ees.go @@ -45,7 +45,7 @@ func (dS *DispatcherService) EeSv1Ping(ctx *context.Context, args *utils.CGREven return } } - return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaCore, utils.EeSv1Ping, args, reply) + return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaEEs, utils.EeSv1Ping, args, reply) } func (dS *DispatcherService) EeSv1ProcessEvent(ctx *context.Context, args *engine.CGREventWithEeIDs, reply *map[string]map[string]any) (err error) { @@ -67,5 +67,5 @@ func (dS *DispatcherService) EeSv1ProcessEvent(ctx *context.Context, args *engin return } } - return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaCore, utils.EeSv1ProcessEvent, args, reply) + return dS.Dispatch(&utils.CGREvent{Tenant: tnt, Event: ev, APIOpts: opts}, utils.MetaEEs, utils.EeSv1ProcessEvent, args, reply) }