Skip to content

Commit bf2a052

Browse files
committed
refactor templates
1 parent 0135535 commit bf2a052

File tree

7 files changed

+1
-1
lines changed

7 files changed

+1
-1
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

backend/app/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class EmailData:
2424

2525
def render_email_template(*, template_name: str, context: dict[str, Any]) -> str:
2626
template_str = (
27-
Path(__file__).parent / "email-templates" / "build" / template_name
27+
Path(__file__).parent / "templates" / "email" / "build" / template_name
2828
).read_text()
2929
html_content = Template(template_str).render(context)
3030
return html_content

0 commit comments

Comments
 (0)