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

Commit f5cc3ef

Browse files
committed
refactor(article-curd): typo
1 parent aa54b76 commit f5cc3ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/groupher_server/cms/delegates/article_curd.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ defmodule GroupherServer.CMS.Delegate.ArticleCURD do
370370
end
371371

372372
defp create_content_result({:ok, %{create_content: result}}) do
373-
Later.exec({__MODULE__, :nofify_admin_new_content, [result]})
373+
Later.exec({__MODULE__, :notify_admin_new_content, [result]})
374374
{:ok, result}
375375
end
376376

@@ -482,7 +482,7 @@ defmodule GroupherServer.CMS.Delegate.ArticleCURD do
482482
end
483483
end
484484

485-
defp nofify_admin_new_content(%{id: id} = result) do
485+
defp notify_admin_new_content(%{id: id} = result) do
486486
target = result.__struct__
487487
preload = [:origial_community, author: :user]
488488

0 commit comments

Comments
 (0)