We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43fa5bc commit d067144Copy full SHA for d067144
1 file changed
packages/platform-express/adapters/express-adapter.ts
@@ -183,7 +183,7 @@ export class ExpressAdapter extends AbstractHttpAdapter {
183
}
184
185
public registerParserMiddleware(prefix?: string, rawBody?: boolean) {
186
- let bodyParserJsonOptions: OptionsJson;
+ let bodyParserJsonOptions: OptionsJson | undefined;
187
if (rawBody === true) {
188
bodyParserJsonOptions = {
189
verify: (req, _res, buffer) => {
0 commit comments