This commit is contained in:
Kara Engelhardt
2026-07-28 11:30:49 +02:00
parent 38be28d64d
commit 404e040600
7 changed files with 378 additions and 185 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class WalletLayoutSerializer(I18nAwareModelSerializer):
style = platform_styles[data["style"]]
layout = PassLayout(style=style, layout=data["layout"])
context = {"placeholders": {k: {"content": v['content']} for k,v in get_layout_variables(self.context['event']).items()}}
context = {"placeholders": get_layout_variables(self.context['event'])}
layout.validate(context=context)
return data