mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 00:28:44 +05:00
compilation fix
This commit is contained in:
@@ -48,10 +48,13 @@ func (self *CmdActiveSessions) RpcMethod() string {
|
||||
return self.rpcMethod
|
||||
}
|
||||
|
||||
func (self *CmdActiveSessions) RpcParams() interface{} {
|
||||
func (self *CmdActiveSessions) RpcParams(ptr bool) interface{} {
|
||||
if self.rpcParams == nil {
|
||||
self.rpcParams = &utils.AttrGetSMASessions{}
|
||||
}
|
||||
if ptr {
|
||||
return self.rpcParams
|
||||
}
|
||||
return *self.rpcParams
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user