mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix lint
This commit is contained in:
parent
5fd44230dd
commit
f9b60fa0b0
@ -9,10 +9,10 @@ export default {
|
||||
return Boolean(user && user.id)
|
||||
},
|
||||
currentUser: async (object, params, ctx, resolveInfo) => {
|
||||
const { user} = ctx
|
||||
if(!user) return null
|
||||
return neo4jgraphql(object, {id: user.id}, ctx, resolveInfo, false)
|
||||
},
|
||||
const { user } = ctx
|
||||
if (!user) return null
|
||||
return neo4jgraphql(object, { id: user.id }, ctx, resolveInfo, false)
|
||||
}
|
||||
},
|
||||
Mutation: {
|
||||
signup: async (parent, { email, password }, { req }) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user