Skip to content

Instantly share code, notes, and snippets.

@salemhilal
Created November 2, 2022 16:04
Show Gist options
  • Save salemhilal/3aebc423483a4278c5551e4ffc96c830 to your computer and use it in GitHub Desktop.
Save salemhilal/3aebc423483a4278c5551e4ffc96c830 to your computer and use it in GitHub Desktop.
diff --git a/ledgerservice/server/schemas/price_plan.py b/ledgerservice/server/schemas/price_plan.py
index e8983bfe..6573c3d7 100644
--- a/ledgerservice/server/schemas/price_plan.py
+++ b/ledgerservice/server/schemas/price_plan.py
@@ -45,7 +45,7 @@ class PricePlanSchema(BaseSchema):
metered_components = mas.RelatedList(mas.Nested("MeteredComponentSchema"))
- minimum_charge = auto_field(example="300", description="Minimum amount to charge every 'period'")
+ minimum_charge = auto_field(example=300, description="Minimum amount to charge every 'period'")
discount = mas.Nested("DiscountSchema", allow_none=True)
features = mas.RelatedList(mas.Nested("FeatureSchema"))
add_ons = mas.RelatedList(mas.Nested("AddOnSchema"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment