Skip to content

Commit 853f8ca

Browse files
authored
docs(rate-limiting): updated
1 parent 2071604 commit 853f8ca

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

content/security/rate-limiting.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ This `@SkipThrottle()` decorator can be used to skip a route or a class or to ne
4747
@SkipThrottle()
4848
@Controller('users')
4949
export class UsersController {
50-
// This route will skip rate limiting.
50+
// Rate limiting is applied to this route.
5151
@SkipThrottle(false)
5252
dontSkip() {
53-
return "List users work with Rate limiting"
53+
return "List users work with Rate limiting.";
5454
}
55-
56-
// Rate limiting is applied to this route.
55+
// This route will skip rate limiting.
5756
doSkip() {
58-
return "List users work without Rate limiting"
57+
return "List users work without Rate limiting.";
5958
}
6059
}
6160
```

0 commit comments

Comments
 (0)