don't pass user as keys

This commit is contained in:
j 2018-11-14 16:09:24 +00:00
commit 503ae10e89
2 changed files with 2 additions and 2 deletions

View file

@ -257,7 +257,7 @@ class Edit(models.Model):
def get_clips_json(self, user=None):
qs = self.get_clips(user)
if self.type == 'static':
clips = [c.json(user) for c in qs.order_by('index')]
clips = [c.json(user=user) for c in qs.order_by('index')]
else:
if qs is None:
clips = []