Skip to content

Commit

Permalink
Remove default in app module
Browse files Browse the repository at this point in the history
  • Loading branch information
daisykucharski committed Nov 10, 2023
1 parent f4d2f5b commit 65e1851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/api-v2/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ import { ThrottlerGuard, ThrottlerModule } from "@nestjs/throttler";
}),
ThrottlerModule.forRoot([
{
name: "default", // no more than 100 requests in a minute
ttl: 60000,
ttl: 60000, // no more than 100 requests in a minute
limit: 100,
},
]),
Expand Down

0 comments on commit 65e1851

Please sign in to comment.