Skip to content

Commit 1bce5b0

Browse files
Merge pull request #2940 from simister/master
docs: fix typos
2 parents 8d83d76 + 1ccd62f commit 1bce5b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/guards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async create(createCatDto) {
179179

180180
Here we've attached the `Roles` decorator metadata to the `create()` method, indicating that only users with the `admin` role should be allowed to access this route.
181181

182-
Alernatively, instead of using the `Reflector#createDecorator` method, we could use the built-in `@SetMetadata()` decorator. Learn more about [here](/fundamentals/execution-context#low-level-approach).
182+
Alternatively, instead of using the `Reflector#createDecorator` method, we could use the built-in `@SetMetadata()` decorator. Learn more about [here](/fundamentals/execution-context#low-level-approach).
183183

184184
#### Putting it all together
185185

content/pipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Parameter-scoped pipes are useful when the validation logic concerns only one sp
423423

424424
#### Global scoped pipes
425425

426-
Since the `ValidationPipe` was created to be as generic as possible, we can realize it's full utility by setting it up as a **global-scoped** pipe so that it is applied to every route handler across the entire application.
426+
Since the `ValidationPipe` was created to be as generic as possible, we can realize its full utility by setting it up as a **global-scoped** pipe so that it is applied to every route handler across the entire application.
427427

428428
```typescript
429429
@@filename(main)

0 commit comments

Comments
 (0)