diff --git a/content/security/rate-limiting.md b/content/security/rate-limiting.md index 176d017d6c..96149aed34 100644 --- a/content/security/rate-limiting.md +++ b/content/security/rate-limiting.md @@ -12,10 +12,10 @@ Once the installation is complete, the `ThrottlerModule` can be configured as an @@filename(app.module) @Module({ imports: [ - ThrottlerModule.forRoot({ + ThrottlerModule.forRoot([{ ttl: 60, limit: 10, - }), + }]), ], }) export class AppModule {}