Skip to content

Commit b6a8bd8

Browse files
marojeeedoug-martin
authored andcommitted
Text improvement
1 parent 348044f commit b6a8bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/docs/graphql/authorization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class TodoItemModule {}
8080

8181
## @Authorize Decorator
8282

83-
The `@nestjs-query/query-graphql` package includes a `@Authorize` decorator that allows you to add additional filter
83+
The `@nestjs-query/query-graphql` package includes an `@Authorize` decorator that allows you to add additional filter
8484
criteria to authorize an incoming request.
8585

8686
The `@Authorize` decorator accepts the following types.
@@ -93,7 +93,7 @@ The `@Authorize` decorator accepts the following types.
9393
The `@Authorize` decorator does not return an unauthorized error instead the following will occur:
9494

9595
- `queryMany` results will not include any DTOs that do not match the filter criteria.
96-
- `findOne` will return a not found for a DTO that is cannot be found for the `id` and auth filter.
96+
- `findOne` will return a not found for a DTO that cannot be found for the `id` and auth filter.
9797
- `updateOne` will return a not found error if the DTO to update cannot be found for the `id` and auth filter.
9898
- `updateMany` will exclude any records that do not match the user provided filter and the auth filter from being
9999
updated.

0 commit comments

Comments
 (0)