Stripe checkout #104411
@ -142,6 +142,8 @@ class ProductionLogEntry(mixins.CreatedUpdatedMixin, models.Model):
|
||||
contributors_ids = set()
|
||||
contributors = []
|
||||
for asset in self.assets.all():
|
||||
if not asset.static_asset:
|
||||
return []
|
||||
for contributor in asset.static_asset.contributors.all():
|
||||
if contributor.pk in contributors_ids:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user