From 869f74e4e68f537499aff2e83638598a3e4ddc11 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 13 Apr 2019 14:43:39 +0200 Subject: [PATCH] Fix typo --- hosting/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/models.py b/hosting/models.py index aeed606f..e20a7725 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -351,7 +351,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model): # found in the line item unit_amount=item.unit_amount if hasattr(item, "unit_amount") else 0 ) - line_item_instance.assign_permission(instance.customer.user) + line_item_instance.assign_permissions(instance.customer.user) instance.assign_permissions(instance.customer.user) return instance