From b8567c1cf70c71718c37c558965c641bd0ada761 Mon Sep 17 00:00:00 2001 From: Laurent Date: Fri, 28 Feb 2025 12:06:35 +0100 Subject: [PATCH] Fix field names --- subscriptions/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subscriptions/models.py b/subscriptions/models.py index 73f71fa..6e40723 100644 --- a/subscriptions/models.py +++ b/subscriptions/models.py @@ -32,7 +32,7 @@ class ASSNotification(models.Model): # offerDiscountType = models.CharField(max_length=100, null=True, blank=True) # offerIdentifier = models.CharField(max_length=100, null=True, blank=True) # offerType = models.IntegerField(null=True, blank=True) - offer_type = models.IntegerField( + offerType = models.IntegerField( null=True, blank=True, choices=[ @@ -44,14 +44,14 @@ class ASSNotification(models.Model): help_text="A value that represents the promotional offer type." ) - offer_identifier = models.CharField( + offerIdentifier = models.CharField( max_length=255, null=True, blank=True, help_text="The identifier that contains the promo code or the promotional offer identifier." ) - offer_discount_type = models.CharField( + offerDiscountType = models.CharField( max_length=20, null=True, blank=True,