diff --git a/web/docs/data-model/operations/queries.md b/web/docs/data-model/operations/queries.md index 1ecd1915b0..e5a1c5b049 100644 --- a/web/docs/data-model/operations/queries.md +++ b/web/docs/data-model/operations/queries.md @@ -271,7 +271,8 @@ Calling a Query on the server is similar to calling it on the client. Here's what you have to do differently: - Import Queries from `wasp/server/operations` instead of `wasp/client/operations`. -- Make sure you pass in a context object with the user to authenticated Queries. +- Make sure you pass in a `context` object with the `user` field to authenticated Queries. + - Note that you don't have to pass other parts of the `context` object, like Entities, those will get injected automatically.