File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
documentation/docs/graphql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
8484criteria to authorize an incoming request.
8585
8686The ` @Authorize ` decorator accepts the following types.
@@ -93,7 +93,7 @@ The `@Authorize` decorator accepts the following types.
9393The ` @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.
You can’t perform that action at this time.
0 commit comments