forked from potsda.mn/mobilizon
Add GraphQL query name to other queries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
da78410039
commit
f593867d8e
|
@ -17,7 +17,7 @@ export const ACTOR_FRAGMENT = gql`
|
|||
`;
|
||||
|
||||
export const FETCH_PERSON = gql`
|
||||
query ($username: String!) {
|
||||
query FetchPerson($username: String!) {
|
||||
fetchPerson(preferredUsername: $username) {
|
||||
...ActorFragment
|
||||
suspended
|
||||
|
|
|
@ -2,7 +2,7 @@ import gql from "graphql-tag";
|
|||
import { ACTOR_FRAGMENT } from "./actor";
|
||||
|
||||
export const GROUP_FOLLOWERS = gql`
|
||||
query (
|
||||
query GroupFollowers(
|
||||
$name: String!
|
||||
$followersPage: Int
|
||||
$followersLimit: Int
|
||||
|
|
|
@ -44,7 +44,7 @@ export const REJECT_INVITATION = gql`
|
|||
`;
|
||||
|
||||
export const GROUP_MEMBERS = gql`
|
||||
query (
|
||||
query GroupMembers(
|
||||
$groupName: String!
|
||||
$name: String
|
||||
$roles: String
|
||||
|
|
Loading…
Reference in a new issue