mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
updated GetActions api to return negative destinations
This commit is contained in:
committed by
Dan Christian Bogos
parent
40ff69ba40
commit
6695db8df7
@@ -713,7 +713,7 @@ func (apierSv1 *APIerSv1) GetActions(ctx *context.Context, actsId *string, reply
|
||||
if bf != nil {
|
||||
act.BalanceType = bf.GetType()
|
||||
act.Units = strconv.FormatFloat(bf.GetValue(), 'f', -1, 64)
|
||||
act.DestinationIds = bf.GetDestinationIDs().String()
|
||||
act.DestinationIds = bf.GetDestinationIDs().AsPrefixedString()
|
||||
act.RatingSubject = bf.GetRatingSubject()
|
||||
act.SharedGroups = bf.GetSharedGroups().String()
|
||||
act.BalanceWeight = strconv.FormatFloat(bf.GetWeight(), 'f', -1, 64)
|
||||
|
||||
Reference in New Issue
Block a user