mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-02-06 09:56:03 +00:00
remove field resolver as it is unused
This commit is contained in:
parent
b28cdada6d
commit
88f36f58ea
@ -114,7 +114,8 @@ export default {
|
||||
},
|
||||
},
|
||||
Report: {
|
||||
filed: async (parent, _params, context, _resolveInfo) => {
|
||||
// This field is inline queried in the cypher statement above
|
||||
/* filed: async (parent, _params, context, _resolveInfo) => {
|
||||
if (typeof parent.filed !== 'undefined') return parent.filed
|
||||
const session = context.driver.session()
|
||||
const { id } = parent
|
||||
@ -146,7 +147,7 @@ export default {
|
||||
session.close()
|
||||
}
|
||||
return filed
|
||||
},
|
||||
}, */
|
||||
reviewed: async (parent, _params, context, _resolveInfo) => {
|
||||
if (typeof parent.reviewed !== 'undefined') return parent.reviewed
|
||||
const session = context.driver.session()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user