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 559c922fa1
commit bf9a2a4ac0
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
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