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

Commit 9bfe042

Browse files
committed
chore(article-comments): wip
1 parent d5ee7f0 commit 9bfe042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/groupher_server/cms/delegates/article_comment_action.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ defmodule GroupherServer.CMS.Delegate.ArticleCommentAction do
256256
end
257257
end
258258

259-
defp get_article(%ArticleComment{repo_id: repo_id} = comment) when not is_nil(job_id) do
259+
defp get_article(%ArticleComment{repo_id: repo_id} = comment) when not is_nil(repo_id) do
260260
with {:ok, article} <- ORM.find(CMS.Repo, comment.repo_id, preload: [author: :user]) do
261261
{:job, article}
262262
end

0 commit comments

Comments
 (0)