mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated console RpcParams
This commit is contained in:
committed by
Dan Christian Bogos
parent
dbf7fb15be
commit
edcc2d959c
@@ -52,7 +52,12 @@ func (self *CmdSessionsProcessEvent) RpcMethod() string {
|
||||
|
||||
func (self *CmdSessionsProcessEvent) RpcParams(reset bool) interface{} {
|
||||
if reset || self.rpcParams == nil {
|
||||
self.rpcParams = &sessions.V1ProcessMessageArgs{CGREventWithOpts: &utils.CGREventWithOpts{Opts: make(map[string]interface{})}}
|
||||
self.rpcParams = &sessions.V1ProcessMessageArgs{
|
||||
CGREventWithOpts: &utils.CGREventWithOpts{
|
||||
CGREvent: new(utils.CGREvent),
|
||||
Opts: make(map[string]interface{}),
|
||||
},
|
||||
}
|
||||
}
|
||||
return self.rpcParams
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user