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