mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 14:48:43 +05:00
Build fix
This commit is contained in:
@@ -83,7 +83,7 @@ func (self *SMGeneric) ttlTerminate(s *SMGSession, tmtr *smgSessionTerminator) {
|
||||
totalSessionUsage := s.TotalUsage() + tmtr.ttl
|
||||
if tmtr.ttlUsage != nil {
|
||||
totalSessionUsage = s.TotalUsage() + *tmtr.ttlUsage
|
||||
evUpdate[utils.USAGE] = diffSessionUsage.Seconds()
|
||||
evUpdate[utils.USAGE] = tmtr.ttlUsage.Seconds()
|
||||
}
|
||||
if tmtr.ttlLastUsed != nil {
|
||||
evUpdate[utils.LastUsed] = tmtr.ttlLastUsed.Seconds()
|
||||
|
||||
Reference in New Issue
Block a user