Fix mediaSize being requested for every group

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-12-01 09:56:14 +01:00
parent 68d4dc3301
commit 8140f5e227
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -84,7 +84,6 @@ export const GROUP_FIELDS_FRAGMENTS = gql`
id id
url url
} }
mediaSize
organizedEvents( organizedEvents(
afterDatetime: $afterDateTime afterDatetime: $afterDateTime
beforeDatetime: $beforeDateTime beforeDatetime: $beforeDateTime
@ -214,6 +213,7 @@ export const GET_GROUP = gql`
$organisedEventslimit: Int $organisedEventslimit: Int
) { ) {
getGroup(id: $id) { getGroup(id: $id) {
mediaSize
...GroupFullFields ...GroupFullFields
} }
} }