mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 13:49:53 +05:00
SetBalance to modify the ID too
This commit is contained in:
@@ -285,6 +285,9 @@ func (bf *BalanceFilter) ModifyBalance(b *Balance) {
|
||||
if b == nil {
|
||||
return
|
||||
}
|
||||
if bf.ID != nil {
|
||||
b.ID = *bf.ID
|
||||
}
|
||||
if bf.Directions != nil {
|
||||
b.Directions = *bf.Directions
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user