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

Commit acd0c5e

Browse files
committed
chore: clean up
1 parent 7a4f65e commit acd0c5e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/groupher_server/cms/delegates/article_comment.ex

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,6 @@ defmodule GroupherServer.CMS.Delegate.ArticleComment do
281281
end)
282282
|> Repo.transaction()
283283
|> upsert_comment_result
284-
285-
# is not work this way, why?
286-
# updated_emotions =
287-
# Map.merge(comment.emotions, %{
288-
# downvote_count: comment.emotions.downvote_count + Enum.random([1, 2, 3]),
289-
# tada_count: comment.emotions.tada_count + Enum.random([1, 2, 3])
290-
# })
291284
end
292285
end
293286

0 commit comments

Comments
 (0)