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

Commit 205f66d

Browse files
committed
fix(user): published thread arg in gq query
1 parent 5a97331 commit 205f66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/groupher_server_web/schema/Helper/queries.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defmodule GroupherServerWeb.Schema.Helper.Queries do
1818
field unquote(:"paged_published_#{thread}s"), unquote(:"paged_#{thread}s") do
1919
arg(:login, non_null(:string))
2020
arg(:filter, non_null(:paged_filter))
21-
arg(:thread, :thread, default_value: unquote(thread))
21+
arg(:thread, unquote(:"#{thread}_thread"), default_value: unquote(thread))
2222

2323
middleware(M.PageSizeProof)
2424
resolve(&R.Accounts.paged_published_articles/3)

0 commit comments

Comments
 (0)