Update return for chargers_process_event for dispatcher

This commit is contained in:
TeoV
2019-02-17 11:35:08 +02:00
parent 69e4331f8c
commit 62ca0d19e7
2 changed files with 2 additions and 2 deletions

View File

@@ -263,7 +263,7 @@ func (dC *DispatcherChargerSv1) GetChargersForEvent(args *dispatchers.CGREvWithA
// ProcessEvent implements ChargerSv1ProcessEvent
func (dC *DispatcherChargerSv1) ProcessEvent(args *dispatchers.CGREvWithApiKey,
reply *[]*engine.AttrSProcessEventReply) (err error) {
reply *[]*engine.ChrgSProcessEventReply) (err error) {
return dC.dC.ChargerSv1ProcessEvent(args, reply)
}

View File

@@ -66,6 +66,6 @@ func (self *CmdChargersProcessEvent) PostprocessRpcParams() error {
}
func (self *CmdChargersProcessEvent) RpcResult() interface{} {
atr := *[]*engine.ChrgSProcessEventReply
atr := []*engine.ChrgSProcessEventReply{}
return &atr
}