mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 02:10:27 +00:00
fix(graphql): fix calling GET_GROUP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
96129d2339
commit
2933ee0679
1 changed files with 0 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
|||
import gql from "graphql-tag";
|
||||
import { DISCUSSION_BASIC_FIELDS_FRAGMENT } from "./discussion";
|
||||
import { RESOURCE_METADATA_BASIC_FIELDS_FRAGMENT } from "./resources";
|
||||
import { POST_BASIC_FIELDS } from "./post";
|
||||
import { ACTOR_FRAGMENT } from "./actor";
|
||||
|
@ -246,7 +245,6 @@ export const GROUP_FIELDS_FRAGMENTS = gql`
|
|||
}
|
||||
}
|
||||
${GROUP_BASIC_FIELDS_FRAGMENTS}
|
||||
${DISCUSSION_BASIC_FIELDS_FRAGMENT}
|
||||
${RESOURCE_METADATA_BASIC_FIELDS_FRAGMENT}
|
||||
`;
|
||||
|
||||
|
@ -278,8 +276,6 @@ export const GET_GROUP = gql`
|
|||
$postsLimit: Int
|
||||
$membersPage: Int
|
||||
$membersLimit: Int
|
||||
$discussionsPage: Int
|
||||
$discussionsLimit: Int
|
||||
) {
|
||||
getGroup(id: $id) {
|
||||
mediaSize
|
||||
|
@ -287,9 +283,6 @@ export const GET_GROUP = gql`
|
|||
}
|
||||
}
|
||||
${GROUP_FIELDS_FRAGMENTS}
|
||||
${DISCUSSION_BASIC_FIELDS_FRAGMENT}
|
||||
${POST_BASIC_FIELDS}
|
||||
${RESOURCE_METADATA_BASIC_FIELDS_FRAGMENT}
|
||||
`;
|
||||
|
||||
export const CREATE_GROUP = gql`
|
||||
|
|
Loading…
Reference in a new issue