Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 91072f7

Browse files
mydearxymmydearxym
authored andcommitted
feat: wip
1 parent b2f8973 commit 91072f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/groupher_server/mailer/templates/notify_admin_on_content_created.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ defmodule GroupherServer.Email.Templates.NotifyAdminOnContentCreated do
504504
"""
505505
end
506506

507-
def text() do
507+
def text(%{author_name: author_name, title: title}) do
508508
"""
509-
有人发帖了
509+
#{author_name} 发布了 #{title}
510510
"""
511511
end
512512

0 commit comments

Comments
 (0)