diff --git a/neuro_admin_client/entities.py b/neuro_admin_client/entities.py index f78efa3..6ca4adc 100644 --- a/neuro_admin_client/entities.py +++ b/neuro_admin_client/entities.py @@ -87,7 +87,7 @@ class Balance: @property def is_non_positive(self) -> bool: - return self.spent_credits is not None and self.spent_credits < 0 + return self.credits is not None and self.credits < 0 @dataclass(frozen=True)