mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
SessionS.v1ForkSessions improvements, GetSessionRuns returning all sessions, SMGenericV1.InitiateSession doing authorization also - fixes #1150
This commit is contained in:
@@ -18,7 +18,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
|
||||
package console
|
||||
|
||||
import "github.com/cgrates/cgrates/engine"
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/cgrates/cgrates/engine"
|
||||
)
|
||||
|
||||
func init() {
|
||||
c := &CmdGetMaxDuration{
|
||||
@@ -59,8 +63,8 @@ func (self *CmdGetMaxDuration) PostprocessRpcParams() error {
|
||||
}
|
||||
|
||||
func (self *CmdGetMaxDuration) RpcResult() interface{} {
|
||||
var f float64
|
||||
return &f
|
||||
var d time.Duration
|
||||
return &d
|
||||
}
|
||||
|
||||
func (self *CmdGetMaxDuration) ClientArgs() []string {
|
||||
|
||||
Reference in New Issue
Block a user