diff --git a/docs/api/schema/resolvers.md b/docs/api/schema/resolvers.md index 17a9d3b561..f107c087db 100644 --- a/docs/api/schema/resolvers.md +++ b/docs/api/schema/resolvers.md @@ -293,7 +293,7 @@ export type UserQuery = Static export const userQueryResolver = resolve({ properties: { // If there is an authenticated user, they can only see their own data - id: async (value, user, context) => { + id: async (value, query, context) => { if (context.params.user) { return context.params.user.id }