mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 00:28:44 +05:00
unit tests passing
This commit is contained in:
@@ -723,6 +723,9 @@ func (acc *Account) InitCounters() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if len(acc.UnitCounters) == 0 {
|
||||
acc.UnitCounters = nil // leave it nil if empty
|
||||
}
|
||||
}
|
||||
|
||||
func (acc *Account) CleanExpiredStuff() {
|
||||
|
||||
@@ -57,7 +57,7 @@ const (
|
||||
DENY_NEGATIVE = "*deny_negative"
|
||||
RESET_ACCOUNT = "*reset_account"
|
||||
REMOVE_ACCOUNT = "*remove_account"
|
||||
SET_BALANCE = "*set_balance" // not ready for production until switching to pointers
|
||||
SET_BALANCE = "*set_balance"
|
||||
REMOVE_BALANCE = "*remove_balance"
|
||||
TOPUP_RESET = "*topup_reset"
|
||||
TOPUP = "*topup"
|
||||
|
||||
Reference in New Issue
Block a user