fix: protected routes now respects rate limit

closes issue #59
This commit is contained in:
Hackntosh 2024-01-25 20:12:58 +00:00
parent a4181e3485
commit b5fa098b9d

View file

@ -31,11 +31,11 @@ import { ThrottlerStorageRedisService } from "nestjs-throttler-storage-redis";
}, },
{ {
provide: APP_GUARD, provide: APP_GUARD,
useClass: JwtAuthGuard, useClass: ThrottlerGuard,
}, },
{ {
provide: APP_GUARD, provide: APP_GUARD,
useClass: ThrottlerGuard, useClass: JwtAuthGuard,
}, },
], ],
}) })