Sep 6, 2018 · 1 min read
Hey.. in resolvers ..
async captureEmail (_, {email}) {
const isEmailTaken = await User.findOne({email})
…
Getting error like unexpected identifier when i use async and await . Please help me resolve this
Hey.. in resolvers ..
async captureEmail (_, {email}) {
const isEmailTaken = await User.findOne({email})
…
Getting error like unexpected identifier when i use async and await . Please help me resolve this