Add domain to GraphQL calls on actors where it was missing and pertinent

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-12-16 16:49:13 +01:00
parent 063f143e76
commit b4a499c8aa
2 changed files with 5 additions and 1 deletions

View File

@ -171,6 +171,7 @@ export const FETCH_EVENTS = gql`
url url
}, },
preferredUsername, preferredUsername,
domain,
name, name,
}, },
# attributedTo { # attributedTo {

View File

@ -7,6 +7,7 @@ export const REPORTS = gql`
reported { reported {
id, id,
preferredUsername, preferredUsername,
domain,
name, name,
avatar { avatar {
url url
@ -46,7 +47,8 @@ const REPORT_FRAGMENT = gql`
name, name,
avatar { avatar {
url url
} },
domain
}, },
reporter { reporter {
id, id,
@ -74,6 +76,7 @@ const REPORT_FRAGMENT = gql`
actor { actor {
id, id,
preferredUsername, preferredUsername,
domain,
name, name,
avatar { avatar {
url url