Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
throttler/src/throttler.guard.ts
Line 177 in c1a0156
res.header is not a function. (In 'res.header(
${this.headerPrefix}-Limit${getThrottlerSuffix(throttler.name)}
, limit)', 'res.header' is undefined)
TypeError: res.header is not a function.
res.header(`${this.headerPrefix}-Limit${getThrottlerSuffix(throttler.name)}`, limit);
Minimum reproduction code
throttler/src/throttler.guard.ts
Line 177 in c1a0156
Steps to reproduce
Expected behavior
use adapter's methods this.httpAdapder.setHeader(***), that code limit use only official adapters
Package version
latest
NestJS version
latest
Node.js version
20
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response