From b4a499c8aad8aaec5d3079693277be4f73149dd8 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 16 Dec 2019 16:49:13 +0100 Subject: [PATCH] Add domain to GraphQL calls on actors where it was missing and pertinent Signed-off-by: Thomas Citharel --- js/src/graphql/event.ts | 1 + js/src/graphql/report.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/js/src/graphql/event.ts b/js/src/graphql/event.ts index e3ca20339..9f192d563 100644 --- a/js/src/graphql/event.ts +++ b/js/src/graphql/event.ts @@ -171,6 +171,7 @@ export const FETCH_EVENTS = gql` url }, preferredUsername, + domain, name, }, # attributedTo { diff --git a/js/src/graphql/report.ts b/js/src/graphql/report.ts index 6973ca622..3e4f4f96a 100644 --- a/js/src/graphql/report.ts +++ b/js/src/graphql/report.ts @@ -7,6 +7,7 @@ export const REPORTS = gql` reported { id, preferredUsername, + domain, name, avatar { url @@ -46,7 +47,8 @@ const REPORT_FRAGMENT = gql` name, avatar { url - } + }, + domain }, reporter { id, @@ -74,6 +76,7 @@ const REPORT_FRAGMENT = gql` actor { id, preferredUsername, + domain, name, avatar { url