Fix getting line_items
This commit is contained in:
parent
8816793803
commit
94c7873397
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model):
|
|||
subscription_ids_csv=args['subscription_ids_csv'],
|
||||
)
|
||||
|
||||
if 'line_items' in args['line_items']:
|
||||
if 'line_items' in args:
|
||||
line_items = args['line_items']
|
||||
for item in line_items:
|
||||
line_item_instance = HostingBillLineItem.objects.create(
|
||||
|
|
Loading…
Reference in a new issue