mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Changed Opts in structs in apier to APIOpts
This commit is contained in:
committed by
Dan Christian Bogos
parent
806c8295be
commit
0d36b0cecf
@@ -39,7 +39,7 @@ func init() {
|
||||
type CmdGetMaxUsage struct {
|
||||
name string
|
||||
rpcMethod string
|
||||
rpcParams *engine.UsageRecordWithOpts
|
||||
rpcParams *engine.UsageRecordWithAPIOpts
|
||||
clientArgs []string
|
||||
*CommandExecuter
|
||||
}
|
||||
@@ -54,7 +54,7 @@ func (self *CmdGetMaxUsage) RpcMethod() string {
|
||||
|
||||
func (self *CmdGetMaxUsage) RpcParams(reset bool) interface{} {
|
||||
if reset || self.rpcParams == nil {
|
||||
self.rpcParams = new(engine.UsageRecordWithOpts)
|
||||
self.rpcParams = new(engine.UsageRecordWithAPIOpts)
|
||||
}
|
||||
return self.rpcParams
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user