We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa26d23 commit ec4ec12Copy full SHA for ec4ec12
sponsor/serializers.py
@@ -69,4 +69,4 @@ def get_remaining(obj):
69
70
@staticmethod
71
def get_available(obj: SponsorLevel):
72
- return True if obj.current_remaining_number < obj.limit else False
+ return True if obj.current_remaining_number > 0 else False
0 commit comments