diff --git a/backend/src/schema/resolvers/notifications.spec.js b/backend/src/schema/resolvers/notifications.spec.js index a4206dccb..06c488d97 100644 --- a/backend/src/schema/resolvers/notifications.spec.js +++ b/backend/src/schema/resolvers/notifications.spec.js @@ -230,29 +230,6 @@ describe('given some notifications', () => { ... on Comment { content } - # Wolle ... on Report { - # id - # filed { - # reasonCategory - # reasonDescription - # reportedResource { - # __typename - # ... on User { - # id - # name - # } - # ... on Post { - # id - # title - # content - # } - # ... on Comment { - # id - # content - # } - # } - # } - # } ... on FiledReport { reportId reasonCategory diff --git a/backend/src/schema/resolvers/reports.js b/backend/src/schema/resolvers/reports.js index 8bc707401..f1cf90856 100644 --- a/backend/src/schema/resolvers/reports.js +++ b/backend/src/schema/resolvers/reports.js @@ -84,6 +84,7 @@ export default { const reportsReadTxPromise = session.readTransaction(async (transaction) => { const reportsTransactionResponse = await transaction.run( + // Wolle // !!! this Cypher query returns multiple reports on the same resource! i will create an issue for refactoring (bug fixing) ` MATCH (report:Report)-[:BELONGS_TO]->(resource)