mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
fix for console josn Marshall issue
This commit is contained in:
@@ -49,10 +49,13 @@ func (self *CmdParse) RpcMethod() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (self *CmdParse) RpcParams() interface{} {
|
||||
func (self *CmdParse) RpcParams(ptr bool) interface{} {
|
||||
if self.rpcParams == nil {
|
||||
self.rpcParams = &AttrParse{}
|
||||
}
|
||||
if ptr {
|
||||
return self.rpcParams
|
||||
}
|
||||
return *self.rpcParams
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user