mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
added in session aswell
This commit is contained in:
@@ -111,7 +111,7 @@ func (s *Session) String() string {
|
||||
//
|
||||
func (s *Session) SaveOperations() {
|
||||
go func() {
|
||||
if len(s.CallCosts) == 0 {
|
||||
if s == nil || len(s.CallCosts) == 0 {
|
||||
return
|
||||
}
|
||||
firstCC := s.CallCosts[0]
|
||||
|
||||
Reference in New Issue
Block a user