fix: override fields update
This commit is contained in:
parent
1913390eae
commit
a432d913be
3 changed files with 10 additions and 3 deletions
|
|
@ -49,6 +49,7 @@ const apolloServer = new ApolloServer({
|
|||
|
||||
const success = await login.authenticate(token)
|
||||
if (!success) throw new AuthenticationError('Authentication failed')
|
||||
return { req: { ...req } }
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue