Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Emails] Rendering emails - switch to API serializers to fix error #2698

Merged

Conversation

pbanaszkiewicz
Copy link
Contributor

This fixes #2694.

The error was caused by accessing event.tags object from the email template; for the worker this object was going to be a list of strings, whereas in the code this was a manager, which needed a different (special) handling. Fix involved serializing the event as the API does it.

@pbanaszkiewicz pbanaszkiewicz added this to the v4.3 milestone Sep 15, 2024
@pbanaszkiewicz pbanaszkiewicz self-assigned this Sep 15, 2024
@pbanaszkiewicz pbanaszkiewicz merged commit 8fefdc2 into develop Sep 15, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Emails] Rendering emails - switch to API serializers
1 participant