Skip to content

Commit 106bebf

Browse files
authored
docs: fix an issue in an example of the README for graphql-api (#1056)
authenticated was just working with the proposed changes
1 parent dde3bdf commit 106bebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import { authenticated } from '@accounts/graphql-api';
127127

128128
export const resolver = {
129129
Mutation: {
130-
updateUserProfile: authenticated(AccountsServer, (rootValue, args, context) => {
130+
updateUserProfile: authenticated((rootValue, args, context) => {
131131
// Write your resolver here
132132
// context.user - the current authenticated user!
133133
}),

0 commit comments

Comments
 (0)