mirror of
https://github.com/pretix/pretix.git
synced 2026-05-15 16:54:00 +00:00
fix test
This commit is contained in:
@@ -160,7 +160,7 @@ class ReusableMediaSerializer(I18nAwareModelSerializer):
|
||||
ops_noperm.append(lop.id)
|
||||
if ops_noperm:
|
||||
ops = [
|
||||
{'id': op.id} if op.id in ops_noperm
|
||||
{'id': op['id']} if op['id'] in ops_noperm
|
||||
else op
|
||||
for op in ops
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user