Fix profile edition

Closes #763

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-07-21 12:20:02 +02:00
parent c6098b33e3
commit a8b5f4fc11
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -56,7 +56,7 @@ export const typePolicies: TypePolicies = {
}, },
Person: { Person: {
fields: { fields: {
organizedEvents: pageLimitPagination(), organizedEvents: paginatedLimitPagination<IEvent>(),
participations: paginatedLimitPagination<IParticipant>(["eventId"]), participations: paginatedLimitPagination<IParticipant>(["eventId"]),
memberships: paginatedLimitPagination<IMember>(["group"]), memberships: paginatedLimitPagination<IMember>(["group"]),
}, },