chore: align local checks

This commit is contained in:
3252a8
2026-06-07 23:57:06 +03:00
parent a86f5d75e1
commit 2077c27252
6 changed files with 6 additions and 10 deletions
@@ -832,8 +832,7 @@ class SubscriptionLifecycleMixin:
traffic_limit = (
self._traffic_limit_for_period_tariff(bonus_tariff)
if bonus_tariff
else
self.settings.user_traffic_limit_bytes
else self.settings.user_traffic_limit_bytes
if apply_main_traffic_limit
else self.settings.trial_traffic_limit_bytes
)
@@ -922,8 +921,7 @@ class SubscriptionLifecycleMixin:
traffic_limit_bytes=(
updated_sub_model.traffic_limit_bytes
if bonus_tariff
else
self.settings.user_traffic_limit_bytes
else self.settings.user_traffic_limit_bytes
if apply_main_traffic_limit and not preserve_tariff_limits
else None
),