Add GraphQL query name to other queries

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-06 15:09:54 +01:00
parent da78410039
commit f593867d8e
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ export const ACTOR_FRAGMENT = gql`
`; `;
export const FETCH_PERSON = gql` export const FETCH_PERSON = gql`
query ($username: String!) { query FetchPerson($username: String!) {
fetchPerson(preferredUsername: $username) { fetchPerson(preferredUsername: $username) {
...ActorFragment ...ActorFragment
suspended suspended

View File

@ -2,7 +2,7 @@ import gql from "graphql-tag";
import { ACTOR_FRAGMENT } from "./actor"; import { ACTOR_FRAGMENT } from "./actor";
export const GROUP_FOLLOWERS = gql` export const GROUP_FOLLOWERS = gql`
query ( query GroupFollowers(
$name: String! $name: String!
$followersPage: Int $followersPage: Int
$followersLimit: Int $followersLimit: Int

View File

@ -44,7 +44,7 @@ export const REJECT_INVITATION = gql`
`; `;
export const GROUP_MEMBERS = gql` export const GROUP_MEMBERS = gql`
query ( query GroupMembers(
$groupName: String! $groupName: String!
$name: String $name: String
$roles: String $roles: String