SetBalance to modify the ID too

This commit is contained in:
Radu Ioan Fericean
2016-02-29 12:40:46 +02:00
parent 8093409209
commit a7024eb66c

View File

@@ -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
}