Fix a bug that was making it impossible to display billing information in the android app.

This commit is contained in:
MarkBryanMilligan
2022-04-04 17:20:15 -05:00
parent 8387216c44
commit d30fc4b4ce
11 changed files with 52 additions and 24 deletions

View File

@@ -203,7 +203,7 @@ public class BreakerConfig implements IIdentical<BreakerConfig> {
}
public BillingCurrency getCurrency() {
return CollectionUtils.getFirst(CollectionUtils.transformToSet(billingRates, BillingRate::getCurrency));
return CollectionUtils.getFirst(CollectionUtils.transformToSet(CollectionUtils.aggregate(billingPlans, BillingPlan::getRates), BillingRate::getCurrency));
}
@Override