Skip to content

Commit d2770b9

Browse files
committed
docs(rate-limiting): add missing period
1 parent 2fb4cd6 commit d2770b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/rate-limiting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class UsersController {
9494
}
9595
```
9696

97-
There is also the `@Throttle()` decorator which can be used to override the `limit` and `ttl` set in the global module, to give tighter or looser security options. This decorator can be used on a class or a function as well. With version 5 and onwards, the decorator takes in an object with the string relating to the name of the throttler set, and an object with the limit and ttl keys and integer values, similar to the options passed to the root module. If you do not have a name set in your original options, use the string `default` You have to configure it like this:
97+
There is also the `@Throttle()` decorator which can be used to override the `limit` and `ttl` set in the global module, to give tighter or looser security options. This decorator can be used on a class or a function as well. With version 5 and onwards, the decorator takes in an object with the string relating to the name of the throttler set, and an object with the limit and ttl keys and integer values, similar to the options passed to the root module. If you do not have a name set in your original options, use the string `default`. You have to configure it like this:
9898

9999
```typescript
100100
// Override default configuration for Rate limiting and duration.

0 commit comments

Comments
 (0)