diff --git a/js/src/graphql/actor.ts b/js/src/graphql/actor.ts index ca552f9b0..c1be5e61a 100644 --- a/js/src/graphql/actor.ts +++ b/js/src/graphql/actor.ts @@ -163,8 +163,12 @@ export const UPDATE_CURRENT_ACTOR_CLIENT = gql` $preferredUsername: String! $name: String! ) { - updateCurrentActor(id: $id, avatar: $avatar, preferredUsername: $preferredUsername, name: $name) - @client + updateCurrentActor( + id: $id + avatar: $avatar + preferredUsername: $preferredUsername + name: $name + ) @client } `; diff --git a/js/src/graphql/discussion.ts b/js/src/graphql/discussion.ts index 726f7be1e..29d04557b 100644 --- a/js/src/graphql/discussion.ts +++ b/js/src/graphql/discussion.ts @@ -99,7 +99,7 @@ export const GET_DISCUSSION = gql` query getDiscussion($slug: String!, $page: Int, $limit: Int) { discussion(slug: $slug) { comments(page: $page, limit: $limit) - @connection(key: "discussion-comments", filter: ["slug"]) { + @connection(key: "discussion-comments", filter: ["slug"]) { total elements { id