Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 8742a58

Browse files
committed
use name instead of value since doesnt exist anymore
1 parent 258b8cb commit 8742a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/internal/owner/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def validate_value(self, value: str) -> str:
131131

132132
plan_service = PlanService(current_org=current_org)
133133
plan_values = [
134-
plan["value"] for plan in plan_service.available_plans(current_owner)
134+
plan.name for plan in plan_service.available_plans(current_owner)
135135
]
136136
if value not in plan_values:
137137
raise serializers.ValidationError(

0 commit comments

Comments
 (0)