diff --git a/src/graphql/actor.ts b/src/graphql/actor.ts index 32fa6a550..e55427264 100644 --- a/src/graphql/actor.ts +++ b/src/graphql/actor.ts @@ -16,12 +16,15 @@ export const ACTOR_FRAGMENT = gql` } `; +// Do not request mediaSize here because mediaSize can only be accessed +// by user_himself/moderator/administrator (can_get_actor_size? in media.ex) +// - FETCH_PERSON is used by and can be used by simple users here +// - FETCH_PERSON is also used in but mediaSize is not used there export const FETCH_PERSON = gql` query FetchPerson($username: String!) { fetchPerson(preferredUsername: $username) { ...ActorFragment suspended - mediaSize avatar { id name