Commit f28dc1bb authored by Alex Castaño's avatar Alex Castaño

Fix userFollowingConnection

parent 2d1b233e
......@@ -60,7 +60,7 @@ defmodule MoodleNetWeb.GraphQL.UserSchema do
object :user_following_collections_connection do
field(:page_info, non_null(:page_info))
field(:edges, non_null(list_of(non_null(:user_joined_communities_edge))))
field(:edges, non_null(list_of(non_null(:user_following_collections_edge))))
field(:total_count, non_null(:integer))
end
......
......@@ -369,6 +369,9 @@ defmodule MoodleNetWeb.GraphQL.UserTest do
cursor
node {
id
resources {
totalCount
}
}
}
totalCount
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment