Skip to content

Commit a13520b

Browse files
committed
Bugfix: set spanish message body
1 parent 4fddad2 commit a13520b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def create(self, validated_data, user: Optional[TigaUser] = None):
421421
title_en=titles.get("en"),
422422
body_html_en=bodies.get("en"),
423423
title_es=titles.get("es"),
424-
body_html_es=bodies.get("en"),
424+
body_html_es=bodies.get("es"),
425425
title_ca=titles.get("ca"),
426426
body_html_ca=bodies.get("ca"),
427427
title_native=titles.get(user.locale) if user else None,
@@ -1589,4 +1589,4 @@ def validate(self, data):
15891589
return data
15901590

15911591
class Meta(PhotoPredictionSerializer.Meta):
1592-
fields = ('photo_uuid',) + PhotoPredictionSerializer.Meta.fields
1592+
fields = ('photo_uuid',) + PhotoPredictionSerializer.Meta.fields

0 commit comments

Comments
 (0)