From bef1fa7533503b269c5a075528eda26193eed055 Mon Sep 17 00:00:00 2001 From: Ajay Singh Date: Wed, 15 Jan 2025 16:07:58 -0800 Subject: [PATCH] missing s --- upload/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/helpers.py b/upload/helpers.py index 23379e3ee8..461f513d15 100644 --- a/upload/helpers.py +++ b/upload/helpers.py @@ -637,7 +637,7 @@ def validate_upload( # If author is on per repo billing, check their repo credits if ( - owner.plan not in Plan.object.values_list("name", flat=True) + owner.plan not in Plan.objects.values_list("name", flat=True) and owner.repo_credits <= 0 ): raise ValidationError(