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

Commit 7975611

Browse files
committed
refactor(article-reaction): remove support_thread concept
1 parent 1edd9d2 commit 7975611

File tree

1 file changed

+1
-2
lines changed
  • lib/groupher_server_web/schema/Helper

1 file changed

+1
-2
lines changed

lib/groupher_server_web/schema/Helper/fields.ex

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ defmodule GroupherServerWeb.Schema.Helper.Fields do
99
@page_size get_config(:general, :page_size)
1010
@supported_emotions get_config(:article, :supported_emotions)
1111
@supported_comment_emotions get_config(:article, :comment_supported_emotions)
12-
@supported_collect_folder_threads Accounts.CollectFolder.supported_threads()
1312

1413
@article_threads get_config(:article, :article_threads)
1514

@@ -242,7 +241,7 @@ defmodule GroupherServerWeb.Schema.Helper.Fields do
242241
general collect folder meta info
243242
"""
244243
defmacro collect_folder_meta_fields() do
245-
@supported_collect_folder_threads
244+
@article_threads
246245
|> Enum.map(fn thread ->
247246
quote do
248247
field(unquote(:"has_#{thread}"), :boolean)

0 commit comments

Comments
 (0)