1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

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
}
}