mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Clean up
This commit is contained in:
parent
d0cf1cc185
commit
1036540a00
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user